14 lines
169 B
Forth
14 lines
169 B
Forth
|
#version 330 core
|
||
|
|
||
|
uniform vec4 uColor;
|
||
|
uniform sampler2D uTexture;
|
||
|
|
||
|
in vec2 iUV;
|
||
|
|
||
|
out vec4 FragColor;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_FragColor = uColor * texture(uTexture, iUV);
|
||
|
}
|