Fix GLSL out fragment shader color.

This commit is contained in:
LuisAntonRebollo 2014-11-30 05:32:40 +01:00
parent 80482753e1
commit 4409a12af6
9 changed files with 59 additions and 17 deletions

View file

@ -100,6 +100,7 @@ mat4 mat4FromRow( float r0c0, float r0c1, float r0c2, float r0c3,
#ifdef TORQUE_PIXEL_SHADER
void clip(float a) { if(a < 0) discard;}
out vec4 OUT_FragColor0;
out vec4 OUT_col;
#define OUT_FragColor0 OUT_col
#endif

View file

@ -100,6 +100,7 @@ mat4 mat4FromRow( float r0c0, float r0c1, float r0c2, float r0c3,
#ifdef TORQUE_PIXEL_SHADER
void clip(float a) { if(a < 0) discard;}
out vec4 OUT_FragColor0;
out vec4 OUT_col;
#define OUT_FragColor0 OUT_col
#endif