Ver código fonte

gpu: shader fixes for the Web version.

undefined
Sam Hocevar 12 anos atrás
pai
commit
752829b7ed
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      src/gpu/tile.lolfx

+ 2
- 0
src/gpu/tile.lolfx Ver arquivo

@@ -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;
}



Carregando…
Cancelar
Salvar