summaryrefslogtreecommitdiff
path: root/src/renderergl2/glsl/dlight_fp.glsl
blob: 8ffca5b98d84af83323f09f8c14bc4218196409c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
}