source:
data/branches/Shader_HS18/programs/GLSL120/ShowNormals.glsl
@
12187
Last change on this file since 12187 was 12115, checked in by wiesep, 6 years ago | |
---|---|
File size: 202 bytes |
Line | |
---|---|
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.