Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSL150/pssmCasterFp.glsl @ 12083

Last change on this file since 12083 was 12083, checked in by wiesep, 6 years ago

Reorganised shader programs

File size: 211 bytes
Line 
1#version 150
2
3in vec2 oDepth;
4out vec4 fragColour;
5uniform vec4 pssmSplitPoints;
6
7void main()
8{
9        float finalDepth = oDepth.x / oDepth.y;
10        fragColour = vec4(finalDepth, finalDepth, finalDepth, 1.0);
11}
Note: See TracBrowser for help on using the repository browser.