Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSLES/pssmCasterFp.glsles @ 12091

Last change on this file since 12091 was 12091, checked in by wiesep, 5 years ago

Updated programs and adjusted Material to work with GLSL>150

File size: 235 bytes
Line 
1#version 100
2
3precision mediump int;
4precision mediump float;
5
6varying vec2 oDepth;
7uniform vec4 pssmSplitPoints;
8
9void main()
10{
11        float finalDepth = oDepth.x / oDepth.y;
12        gl_FragColor = vec4(finalDepth, finalDepth, finalDepth, 1.0);
13}
Note: See TracBrowser for help on using the repository browser.