File: texture.frag

package info (click to toggle)
openmsx 20.0%2Bdfsg-1.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,544 kB
  • sloc: cpp: 236,922; xml: 49,948; tcl: 15,056; python: 5,385; perl: 281; sh: 77; makefile: 53
file content (9 lines) | stat: -rw-r--r-- 146 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
uniform sampler2D u_tex;
uniform vec4 u_color;

varying vec2 v_texCoord;

void main()
{
	gl_FragColor = texture2D(u_tex, v_texCoord) * u_color;
}