source:
data/branches/Shader_HS18/programs/GLSL150/pssmCasterFp.glsl
@
12206
Last change on this file since 12206 was 12115, checked in by wiesep, 6 years ago | |
---|---|
File size: 200 bytes |
Rev | Line | |
---|---|---|
[12115] | 1 | #version 150 |
2 | ||
3 | in vec2 oDepth; | |
4 | out vec4 fragColour; | |
5 | uniform vec4 pssmSplitPoints; | |
6 | ||
7 | void 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.