mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
13 lines
215 B
GLSL
13 lines
215 B
GLSL
#version 330
|
|
|
|
in vec2 f_coord;
|
|
|
|
//uniform sampler2D tex;
|
|
|
|
void main()
|
|
{
|
|
//gl_FragColor = texture(tex, f_coord);
|
|
gl_FragDepth = gl_FragCoord.z;
|
|
//gl_FragDepth = gl_FragCoord.z + (1.0 - texture(tex, f_coord).w);
|
|
}
|