GRK-2023/shaders/test.frag
Aleksander Burkowski 9552610ca8 Fixed shadows
2023-01-24 13:59:45 +01:00

13 lines
203 B
GLSL

#version 330 core
out vec4 FragColor;
in vec2 tc;
uniform sampler2D
;
void main()
{
float depthValue = texture(depthMap, tc).r;
FragColor = vec4(vec3(depthValue+0.5), 1.0);
}