voxel-engine/shaders/shader-quad.fs

11 lines
149 B
GLSL

#version 330 core
in vec2 TexCoord;
out vec4 FragColor;
uniform sampler2D renderTex;
void main(){
FragColor = texture(renderTex, TexCoord);
}