mirror of
https://github.com/bailwillharr/engine.git
synced 2024-09-21 21:11:17 +00:00
15 lines
167 B
GLSL
15 lines
167 B
GLSL
|
#version 330
|
||
|
|
||
|
uniform vec3 textColor;
|
||
|
|
||
|
uniform sampler2D tex;
|
||
|
|
||
|
in vec2 f_UV;
|
||
|
|
||
|
out vec4 FragColor;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
FragColor = vec4(textColor, texture(tex, f_UV).r);
|
||
|
}
|