Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/data_extern/programs/GLSL/DepthShadowmapCasterFp.glsl @ 12302

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

Changed folder structure, deletet some unused files and cleaned up code

File size: 256 bytes
Line 
1#version 120
2
3varying vec2 depth;
4
5void main()
6{
7        float finalDepth = depth.x / depth.y;
8
9        // just smear across all components
10        // therefore this one needs high individual channel precision
11        gl_FragColor = vec4(finalDepth, finalDepth, finalDepth, 1.0);
12}
13
Note: See TracBrowser for help on using the repository browser.