16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 12:49:18 +02:00

merge and shadow fixes

This commit is contained in:
VB
2017-07-03 14:08:08 +02:00
21 changed files with 490 additions and 316 deletions

View File

@@ -1,7 +1,10 @@
#version 330
in vec3 f_pos;
in vec2 f_coord;
uniform sampler2D tex;
void main()
{
gl_FragDepth = gl_FragCoord.z + (1.0 - texture(tex, f_coord).w);
}