Last change
on this file since 10861 was
7708,
checked in by dafrick, 14 years ago
|
Merging cleanup branch. You will need to update your data repository as well as your local copy of the code.
|
-
Property svn:eol-style set to
native
|
File size:
179 bytes
|
Rev | Line | |
---|
[5026] | 1 | uniform vec4 ambient; |
---|
| 2 | |
---|
| 3 | /* |
---|
| 4 | Basic ambient lighting vertex program |
---|
| 5 | */ |
---|
| 6 | void 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.