X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fmodel_sky_space.h;fp=shaders%2Fmodel_sky_space.h;h=0000000000000000000000000000000000000000;hb=bececcbb7b2e886e72425e7c070e1fdc3aa126dc;hp=474d0728fb62cf598f691cf2b85caa38fb08387b;hpb=93790b71d3a89724255dc73239e38c08ad4bbac7;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/model_sky_space.h b/shaders/model_sky_space.h deleted file mode 100644 index 474d072..0000000 --- a/shaders/model_sky_space.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "vg/vg_engine.h" -extern struct vg_shader _shader_model_sky_space; -extern GLuint _uniform_model_sky_space_uMdl; -extern GLuint _uniform_model_sky_space_uPv; -extern GLuint _uniform_model_sky_space_uPvmPrev; -extern GLuint _uniform_model_sky_space_uTexGarbage; -extern GLuint _uniform_model_sky_space_g_world_depth; -extern GLuint _uniform_model_sky_space_uLightsArray; -extern GLuint _uniform_model_sky_space_uLightsIndex; -static inline void shader_model_sky_space_uMdl(m4x3f m) -{ - glUniformMatrix4x3fv(_uniform_model_sky_space_uMdl,1,GL_FALSE,(f32*)m); -} -static inline void shader_model_sky_space_uPv(m4x4f m) -{ - glUniformMatrix4fv(_uniform_model_sky_space_uPv,1,GL_FALSE,(f32*)m); -} -static inline void shader_model_sky_space_uPvmPrev(m4x4f m) -{ - glUniformMatrix4fv(_uniform_model_sky_space_uPvmPrev,1,GL_FALSE,(f32*)m); -} -static inline void shader_model_sky_space_uTexGarbage(int i) -{ - glUniform1i(_uniform_model_sky_space_uTexGarbage,i); -} -static inline void shader_model_sky_space_g_world_depth(int i) -{ - glUniform1i(_uniform_model_sky_space_g_world_depth,i); -} -static inline void shader_model_sky_space_use(void); -static inline void shader_model_sky_space_use(void) -{ - glUseProgram(_shader_model_sky_space.id); -}