Clean GLSL fragment shader out.

This commit is contained in:
LuisAntonRebollo 2014-11-30 22:56:30 +01:00
parent 87f34e3c4f
commit ed0febea39
135 changed files with 451 additions and 239 deletions

View file

@ -29,6 +29,8 @@ uniform vec4 shadeColor;
in vec2 TEX0;
in vec4 TEX1;
out vec4 OUT_col;
//-----------------------------------------------------------------------------
// Fade edges of axis for texcoord passed in
//-----------------------------------------------------------------------------
@ -64,5 +66,5 @@ void main()
vec4 diffuseColor = texture( diffuseMap, TEX0 );
vec4 reflectColor = textureProj( refractMap, texIndex );
OUT_FragColor0 = diffuseColor + reflectColor * diffuseColor.a;
OUT_col = diffuseColor + reflectColor * diffuseColor.a;
}