mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 08:09:19 +02:00
alpha changes, mouse cursor changes, other changes
This commit is contained in:
@@ -7,5 +7,6 @@ uniform sampler2D tex1;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragDepth = gl_FragCoord.z + (1.0 - texture(tex1, f_coord).a);
|
||||
if (texture(tex1, f_coord).a < 0.5f)
|
||||
discard;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user