Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutorial/Tutorial/Media/materials/programs/AmbientOneTexture.glsl @ 25

Last change on this file since 25 was 25, checked in by nicolasc, 17 years ago

added Media and Config

File size: 179 bytes
Line 
1uniform vec4 ambient;
2
3/*
4  Basic ambient lighting vertex program
5*/
6void main()
7{
8        gl_Position = ftransform();
9        gl_TexCoord[0] = gl_MultiTexCoord0;
10        gl_FrontColor = ambient;
11}
12
13
Note: See TracBrowser for help on using the repository browser.