Working on fog, dialogs, etc
This commit is contained in:
1 parent
fd098e8346
commit
d557c4b530
18 files changed
+424
-40
No files matched your search
@@ -2,14 +2,14 @@
|
||||
uniform sampler2D Texture;
|
||||
varying vec2 texCoord;
|
||||
|
||||
void main()
|
||||
void main()
|
||||
{
|
||||
vec4 color = texture2D(Texture,texCoord).rgba;
|
||||
//gl_FragColor = vec4(color.rgb*0.1 + vec3(0.9, 0.9, 0.9), 1.0);
|
||||
|
||||
|
||||
if(color.a < 0.1)
|
||||
discard;
|
||||
|
||||
|
||||
gl_FragColor = color;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user