Includes are now supported in shader with the key #GLSL

This commit is contained in:
Tleety
2016-02-26 16:33:55 +01:00
parent f161fce719
commit b3038ef713
4 changed files with 42 additions and 11 deletions
+3
View File
@@ -2,6 +2,8 @@
#define MIN_AMBIENT_LIGHT 0.3
#GLSL "Shaders/Util/CommonUniforms.glsl"
uniform mat4 M;
uniform mat4 V;
uniform mat4 P;
@@ -180,6 +182,7 @@ void main()
color_result += FillColor;
}
sceneColor = vec4(color_result.xyz, clamp(color_result.a, 0, 1));
//sceneColor = CommonUniforms.testColour;
//sceneColor = vec4(reflectionColor.xyz, 1);
color_result += glowTexel*GlowIntensity;
@@ -0,0 +1 @@
#define testtest1234;