source:
data/branches/Shader_HS18/programs/Example/GLSL150/ShowTangents.glsl
@
12091
Last change on this file since 12091 was 12083, checked in by wiesep, 6 years ago | |
---|---|
File size: 194 bytes |
Line | |
---|---|
1 | #version 150 |
2 | |
3 | in vec4 position; |
4 | in vec3 tangent; |
5 | |
6 | out 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.