Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Reorganised shader programs

File size: 242 bytes
Line 
1#version 150
2
3in vec4 ambientUV;
4in vec4 ambColour;
5
6out vec4 fragColour;
7
8// Basic fragment program to display UV
9void 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.