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

@ -33,6 +33,8 @@ uniform sampler2D textureMap;
uniform float texId;
uniform float layerSize;
out vec4 OUT_col;
void main()
{
vec4 layerSample = round(texture( layerTex, IN_layerCoord ) * 255.0);
@ -42,5 +44,5 @@ void main()
if(blend - 0.0001 < 0.0)
discard;
OUT_FragColor0 = vec4( texture( textureMap, IN_texCoord ).rgb, blend );
OUT_col = vec4( texture( textureMap, IN_texCoord ).rgb, blend );
}