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