Last change
on this file since 12294 was
12115,
checked in by wiesep, 6 years ago
|
Changed folder structure, deletet some unused files and cleaned up code
|
File size:
306 bytes
|
Line | |
---|
1 | #version 120 |
---|
2 | |
---|
3 | uniform vec4 ambient; |
---|
4 | uniform mat4 worldViewProj; |
---|
5 | |
---|
6 | attribute vec4 position; |
---|
7 | attribute vec4 uv0; |
---|
8 | |
---|
9 | varying vec4 colour; |
---|
10 | varying vec4 ambientUV; |
---|
11 | |
---|
12 | /* |
---|
13 | Basic ambient lighting vertex program for GLSL |
---|
14 | */ |
---|
15 | void main() |
---|
16 | { |
---|
17 | gl_Position = worldViewProj * position; |
---|
18 | colour = ambient; |
---|
19 | ambientUV = uv0; |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.