source:
data/branches/Shader_HS18/programs/Example/GLSL150/AmbientOneTextureWithUV.glsl
@
  12091
        
        | Last change on this file since 12091 was 12083, checked in by wiesep, 7 years ago | |
|---|---|
| File size: 310 bytes | |
| Line | |
|---|---|
| 1 | #version 150 | 
| 2 | |
| 3 | uniform vec4 ambient; | 
| 4 | uniform mat4 worldViewProj; | 
| 5 | |
| 6 | in vec4 position; | 
| 7 | in vec4 uv0; | 
| 8 | |
| 9 | out vec4 ambColour; | 
| 10 | out vec4 ambientUV; | 
| 11 | |
| 12 | /* | 
| 13 | Basic ambient lighting vertex program for GLSL | 
| 14 | */ | 
| 15 | void main() | 
| 16 | { | 
| 17 | gl_Position = worldViewProj * position; | 
| 18 | ambColour = ambient; | 
| 19 | ambientUV = uv0; | 
| 20 | } | 
Note: See TracBrowser
        for help on using the repository browser.
    


            






