mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 10:27:47 +02:00
14 lines
234 B
GLSL
14 lines
234 B
GLSL
#version 140
|
|
|
|
in mediump vec2 var_texcoord0;
|
|
in mediump vec4 var_color;
|
|
|
|
out vec4 out_fragColor;
|
|
|
|
uniform mediump sampler2D texture_sampler;
|
|
|
|
void main()
|
|
{
|
|
out_fragColor = texture(texture_sampler, var_texcoord0.xy) * var_color;
|
|
}
|