alecgl_old/Release/dfrag.frag

10 lines
157 B
GLSL
Raw Permalink Normal View History

2015-04-08 21:35:21 +00:00
#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);
}