12 lines
168 B
GLSL
12 lines
168 B
GLSL
#version 330 core
|
|
|
|
// Ouput data
|
|
layout(location = 0) out vec4 color;
|
|
|
|
uniform sampler2D Texture;
|
|
|
|
in vec2 UV;
|
|
|
|
void main(){
|
|
color = texture(Texture, UV);
|
|
} |