10 lines
No EOL
157 B
GLSL
10 lines
No EOL
157 B
GLSL
#version 330
|
|
|
|
in vec2 textex;
|
|
out vec4 frag;
|
|
uniform sampler2D depthMap;
|
|
|
|
void main() {
|
|
//frag = vec4(0.0,0.0,0.0,1.0);
|
|
frag = texture(depthMap, textex);
|
|
} |