source:
data/branches/Shader_HS18/programs/Example/GLSL120/PassthroughVP.glsl
@
12091
| Last change on this file since 12091 was 12091, checked in by wiesep, 7 years ago | |
|---|---|
| File size: 161 bytes | |
| Rev | Line | |
|---|---|---|
| [12091] | 1 | uniform mat4 WorldViewProj; |
| 2 | attribute vec4 vertex; | |
| 3 | ||
| 4 | ||
| 5 | void main() | |
| 6 | { | |
| 7 | // Transform the vertex (ModelViewProj matrix). | |
| 8 | gl_Position = WorldViewProj*vertex; | |
| 9 | } |
Note: See TracBrowser
for help on using the repository browser.










