source:
data/branches/Shader_HS18/programs/GLSL120/ShowUVdir3D.glsl
@
12202
Last change on this file since 12202 was 12115, checked in by wiesep, 6 years ago | |
---|---|
File size: 166 bytes |
Rev | Line | |
---|---|---|
[12115] | 1 | #version 120 |
2 | ||
3 | varying vec4 oUv0; | |
4 | ||
5 | // Basic fragment program to display 3d uv | |
6 | void main() | |
7 | { | |
8 | vec3 n = normalize(oUv0.xyz); | |
9 | gl_FragColor = vec4(n.x, n.y, n.z, 1.0); | |
10 | } |
Note: See TracBrowser
for help on using the repository browser.