Commit 677a782b authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[ADD] - prepared for preprocessing mode

parent 3e206b7c
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#version 120 #version 120
#include "WGEShadingTools.glsl" #include "WGEShadingTools.glsl"
#include "WGETextureTools.glsl"
#include "WGEPostprocessing.glsl"
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Varyings // Varyings
...@@ -82,6 +84,8 @@ void main() ...@@ -82,6 +84,8 @@ void main()
float light = 1.0; float light = 1.0;
#endif #endif
gl_FragColor = vec4( vec3( gl_Color.xyz * light ), gl_Color.a ); wge_FragColor = vec4( vec3( gl_Color.xyz * light ), gl_Color.a );
wge_FragNormal = textureNormalize( v_normal );
gl_FragDepth = gl_FragCoord.z;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment