14 lines
164 B
Plaintext
14 lines
164 B
Plaintext
|
#version 450 core
|
||
|
|
||
|
// Input
|
||
|
in vec2 UV;
|
||
|
|
||
|
// Ouput data
|
||
|
out vec3 color;
|
||
|
|
||
|
uniform sampler2D textureSampler;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
color = texture(textureSampler, UV).rgb;
|
||
|
}
|