summaryrefslogtreecommitdiffstats
path: root/shader/ambient.frag
blob: cef0a3b63e40ec0ecbedaee64a5595906ebadef1 (plain)
1
2
3
4
5
6
7
8
uniform sampler2D tex;

varying vec4 ambient;


void main() {
  gl_FragColor = ambient * texture2D(tex, gl_TexCoord[0].st);
}