source:
data/branches/Shader_HS18/programs/Example/GLSL120/ShowNormals.glsl
@
12091
| Last change on this file since 12091 was 12091, checked in by wiesep, 7 years ago | |
|---|---|
| File size: 202 bytes | |
| Rev | Line | |
|---|---|---|
| [12091] | 1 | #version 120 |
| 2 | ||
| 3 | attribute vec4 position; | |
| 4 | attribute vec3 normal; | |
| 5 | ||
| 6 | varying vec4 oUv0; | |
| 7 | ||
| 8 | uniform mat4 worldViewProj; | |
| 9 | ||
| 10 | void main() | |
| 11 | { | |
| 12 | gl_Position = worldViewProj * position; | |
| 13 | oUv0 = vec4(normal, 1.0); | |
| 14 | } |
Note: See TracBrowser
for help on using the repository browser.










