This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
gpu: shader fixes for the Web version.
undefined
Sam Hocevar
11 years ago
parent
7d230d7674
commit
752829b7ed
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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;
}
Write
Preview
Loading…
Cancel
Save