This repository has been archived on 2025-03-22. You can view files and clone it, but cannot push or open issues or pull requests.
organicmaps-tmp/shaders/GL/traffic_line.fsh.glsl
2018-06-28 18:04:46 +03:00

10 lines
203 B
GLSL

uniform sampler2D u_colorTex;
uniform float u_opacity;
varying vec2 v_colorTexCoord;
void main()
{
vec4 color = texture2D(u_colorTex, v_colorTexCoord);
gl_FragColor = vec4(color.rgb, u_opacity);
}