nenuzhno-engine_iter1/assets/base/shaders/col_tex.fs

13 lines
195 B
Forth
Raw Normal View History

2019-08-07 03:06:06 +02:00
#version 100
precision highp float;
varying vec2 v_uv;
uniform sampler2D u_texture;
uniform vec4 u_color;
void main()
{
vec4 col = texture2D(u_texture, v_uv);
gl_FragColor = col * u_color;
}