qt-scene-editor/FinalProject/terrainfragmentshader.glsl
2022-12-19 19:11:27 +08:00

12 lines
166 B
GLSL

#version 430 core
out vec4 FragColor;
in vec2 TexCoord;
// texture sampler
uniform sampler2D texture1;
void main()
{
FragColor = texture(texture1, TexCoord);
}