source:
data/branches/Shader_HS18/programs/Example/GLSLES/ShowUV.glsles
@
12091
| Last change on this file since 12091 was 12091, checked in by wiesep, 7 years ago | |
|---|---|
| File size: 243 bytes | |
| Line | |
|---|---|
| 1 | #version 100 |
| 2 | precision mediump int; |
| 3 | precision mediump float; |
| 4 | |
| 5 | varying vec2 ambientUV; |
| 6 | |
| 7 | // Basic fragment program to display UV |
| 8 | void main() |
| 9 | { |
| 10 | // wrap values using fract |
| 11 | gl_FragColor = vec4(fract(ambientUV.x), fract(ambientUV.y), 0.0, 1.0); |
| 12 | } |
Note: See TracBrowser
for help on using the repository browser.










