mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 06:34:55 +02:00
Resolve "Merge the best from 7.40 branch"
This commit is contained in:
11
SabrehavenOTClient/data/shaders/map_default_fragment.frag
Normal file
11
SabrehavenOTClient/data/shaders/map_default_fragment.frag
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
varying vec2 v_TexCoord;
|
||||
uniform vec4 u_Color;
|
||||
uniform sampler2D u_Tex0;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = texture2D(u_Tex0, v_TexCoord) * u_Color;
|
||||
if(gl_FragColor.a < 0.01)
|
||||
discard;
|
||||
}
|
Reference in New Issue
Block a user