source:
data/data_extern/programs/GLSL120/ShowUV.glsl
@
12188
| Last change on this file since 12188 was 12115, checked in by wiesep, 7 years ago | |
|---|---|
| File size: 195 bytes | |
| Line | |
|---|---|
| 1 | #version 120 |
| 2 | |
| 3 | varying vec2 ambientUV; |
| 4 | |
| 5 | // Basic fragment program to display UV |
| 6 | void main() |
| 7 | { |
| 8 | // wrap values using fract |
| 9 | gl_FragColor = vec4(fract(ambientUV.x), fract(ambientUV.y), 0.0, 1.0); |
| 10 | } |
Note: See TracBrowser
for help on using the repository browser.










