16 lines
216 B
GLSL
16 lines
216 B
GLSL
#version 450
|
|
|
|
#ifdef GL_ES
|
|
precision mediump float;
|
|
#endif
|
|
|
|
uniform sampler2D gbuffer;
|
|
|
|
in vec2 texCoord;
|
|
out vec4 fragColor;
|
|
|
|
void main() {
|
|
vec3 col = texture(gbuffer, texCoord).rgb;
|
|
fragColor = vec4(col, 1.0);
|
|
}
|