11 lines
162 B
GLSL
11 lines
162 B
GLSL
|
#version 130
|
||
|
|
||
|
in vec4 ex_Color;
|
||
|
in vec2 UV;
|
||
|
uniform sampler2D myTextureSampler;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
gl_FragColor = texture(myTextureSampler, UV) * ex_Color;
|
||
|
}
|