source:
data/branches/Shader_HS18/programs/Example/GLSL150/ShowUV.glsl
@
12083
Last change on this file since 12083 was 12083, checked in by wiesep, 6 years ago | |
---|---|
File size: 242 bytes |
Line | |
---|---|
1 | #version 150 |
2 | |
3 | in vec4 ambientUV; |
4 | in vec4 ambColour; |
5 | |
6 | out vec4 fragColour; |
7 | |
8 | // Basic fragment program to display UV |
9 | void main() |
10 | { |
11 | // wrap values using fract |
12 | fragColour = vec4(fract(ambientUV.x), fract(ambientUV.y), 0.0, 1.0); |
13 | } |
Note: See TracBrowser
for help on using the repository browser.