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