summaryrefslogtreecommitdiffstats
path: root/shader/ambient.vert
blob: 41a36e7b2f8368d984976d073c99512e897c6359 (plain)
1
2
3
4
5
6
7
8
varying vec4 ambient;

void main() {
  ambient = gl_LightModel.ambient * gl_FrontMaterial.ambient;
  
  gl_TexCoord[0] = gl_MultiTexCoord0;
  gl_Position = ftransform();
}