mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-15 06:30:49 +00:00
b1821e303d
This path was barely used and doing this compiles fewer shaders.
12 lines
206 B
GLSL
12 lines
206 B
GLSL
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;
|
|
}
|