mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-12-02 08:22:22 +00:00
13 lines
206 B
Text
13 lines
206 B
Text
|
uniform sampler2D u_DiffuseMap;
|
||
|
|
||
|
varying vec2 var_DiffuseTex;
|
||
|
|
||
|
varying vec4 var_Color;
|
||
|
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vec4 color = texture2D(u_DiffuseMap, var_DiffuseTex);
|
||
|
gl_FragColor = color * var_Color;
|
||
|
}
|