Attempt to fix effect shaders

This commit is contained in:
Siana Gearz
2012-08-30 02:58:50 +02:00
parent 32f9cbb11d
commit be2598bc4c
4 changed files with 19 additions and 10 deletions

View File

@@ -8,7 +8,9 @@
#extension GL_ARB_texture_rectangle : enable
#ifdef DEFINE_GL_FRAGCOLOR
out vec4 gl_FragColor;
out vec4 frag_color;
#else
#define frag_color gl_FragColor
#endif
uniform sampler2DRect tex0;
@@ -48,5 +50,5 @@ void main(void)
outColor += noiseValue;
gl_FragColor = vec4(outColor, 1.0);
frag_color = vec4(outColor, 1.0);
}