source:
data/data_extern/programs/GLSL120/ShowTangents.glsl
@
12188
| Last change on this file since 12188 was 12115, checked in by wiesep, 7 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.










