source:
data/branches/Shader_HS18/programs/Example/GLSLES/ShowTangents.glsles
@
12091
| Last change on this file since 12091 was 12091, checked in by wiesep, 7 years ago | |
|---|---|
| File size: 246 bytes | |
| Line | |
|---|---|
| 1 | #version 100 |
| 2 | precision mediump int; |
| 3 | precision mediump float; |
| 4 | |
| 5 | attribute vec4 position; |
| 6 | attribute vec3 tangent; |
| 7 | |
| 8 | varying vec4 oUv0; |
| 9 | |
| 10 | uniform mat4 worldViewProj; |
| 11 | |
| 12 | void main() |
| 13 | { |
| 14 | gl_Position = worldViewProj * position; |
| 15 | oUv0 = vec4(tangent, 1.0); |
| 16 | } |
Note: See TracBrowser
for help on using the repository browser.










