Browse Source

gpu: shader fixes for the Web version.

undefined
Sam Hocevar 11 years ago
parent
commit
752829b7ed
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/gpu/tile.lolfx

+ 2
- 0
src/gpu/tile.lolfx View File

@@ -32,6 +32,8 @@ varying vec2 pass_TexCoord;
void main()
{
vec4 col = texture2D(in_Texture, pass_TexCoord);
if (col.a == 0.0)
discard;
gl_FragColor = col;
}



Loading…
Cancel
Save