File: dlight_fp.glsl

package info (click to toggle)
ioquake3 1.36%2Bu20140802%2Bgca9eebb-2%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 14,528 kB
  • ctags: 25,996
  • sloc: ansic: 201,995; makefile: 2,481; sh: 1,045; asm: 706; objc: 131
file content (12 lines) | stat: -rw-r--r-- 193 bytes parent folder | download | duplicates (5)
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;
}