source:
data/branches/Shader_HS18/programs/Example/GLSLES/ShowUVdir3D.glsles
@
12091
Last change on this file since 12091 was 12091, checked in by wiesep, 5 years ago | |
---|---|
File size: 216 bytes |
Line | |
---|---|
1 | #version 100 |
2 | precision mediump int; |
3 | precision mediump float; |
4 | |
5 | varying vec4 oUv0; |
6 | |
7 | // Basic fragment program to display 3d uv |
8 | void main() |
9 | { |
10 | vec3 n = normalize(oUv0.xyz); |
11 | gl_FragColor = vec4(n.x, n.y, n.z, 1.0); |
12 | } |
13 | |
14 |
Note: See TracBrowser
for help on using the repository browser.