mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-28 15:02:31 +00:00
12 lines
193 B
GLSL
12 lines
193 B
GLSL
uniform sampler2D u_DiffuseMap;
|
|
|
|
varying vec2 var_Tex1;
|
|
varying vec4 var_Color;
|
|
|
|
|
|
void main()
|
|
{
|
|
vec4 color = texture2D(u_DiffuseMap, var_Tex1);
|
|
|
|
gl_FragColor = color * var_Color;
|
|
}
|