armory/raw/deferred_light/deferred_light.frag.glsl
2016-03-15 11:29:53 +01:00

17 lines
277 B
GLSL

#version 450
#ifdef GL_ES
precision mediump float;
#endif
uniform sampler2D gbuffer0; // Positions
uniform sampler2D gbuffer1; // Normals
uniform sampler2D gbuffer2; // Textures
in vec2 texCoord;
void main() {
gl_FragColor = vec4(texture(gbuffer2, texCoord).rgb, 1.0);
}