X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fscene_fxglow.h;fp=shaders%2Fscene_fxglow.h;h=0000000000000000000000000000000000000000;hb=bececcbb7b2e886e72425e7c070e1fdc3aa126dc;hp=81476396f7d8591b539962245dc3d4b7f07dab0b;hpb=93790b71d3a89724255dc73239e38c08ad4bbac7;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/scene_fxglow.h b/shaders/scene_fxglow.h deleted file mode 100644 index 8147639..0000000 --- a/shaders/scene_fxglow.h +++ /dev/null @@ -1,45 +0,0 @@ -#pragma once -#include "vg/vg_engine.h" -extern struct vg_shader _shader_scene_fxglow; -extern GLuint _uniform_scene_fxglow_uMdl; -extern GLuint _uniform_scene_fxglow_uPv; -extern GLuint _uniform_scene_fxglow_uPvmPrev; -extern GLuint _uniform_scene_fxglow_uUvOffset; -extern GLuint _uniform_scene_fxglow_uTexMain; -extern GLuint _uniform_scene_fxglow_uCamera; -extern GLuint _uniform_scene_fxglow_g_world_depth; -extern GLuint _uniform_scene_fxglow_uLightsArray; -extern GLuint _uniform_scene_fxglow_uLightsIndex; -static inline void shader_scene_fxglow_uMdl(m4x3f m) -{ - glUniformMatrix4x3fv(_uniform_scene_fxglow_uMdl,1,GL_FALSE,(f32*)m); -} -static inline void shader_scene_fxglow_uPv(m4x4f m) -{ - glUniformMatrix4fv(_uniform_scene_fxglow_uPv,1,GL_FALSE,(f32*)m); -} -static inline void shader_scene_fxglow_uPvmPrev(m4x4f m) -{ - glUniformMatrix4fv(_uniform_scene_fxglow_uPvmPrev,1,GL_FALSE,(f32*)m); -} -static inline void shader_scene_fxglow_uUvOffset(v2f v) -{ - glUniform2fv(_uniform_scene_fxglow_uUvOffset,1,v); -} -static inline void shader_scene_fxglow_uTexMain(int i) -{ - glUniform1i(_uniform_scene_fxglow_uTexMain,i); -} -static inline void shader_scene_fxglow_uCamera(v3f v) -{ - glUniform3fv(_uniform_scene_fxglow_uCamera,1,v); -} -static inline void shader_scene_fxglow_g_world_depth(int i) -{ - glUniform1i(_uniform_scene_fxglow_g_world_depth,i); -} -static inline void shader_scene_fxglow_use(void); -static inline void shader_scene_fxglow_use(void) -{ - glUseProgram(_shader_scene_fxglow.id); -}