source:
data/data_extern/programs/GLSL150/pssmCasterFp.glsl
@
12188
| Last change on this file since 12188 was 12115, checked in by wiesep, 7 years ago | |
|---|---|
| File size: 200 bytes | |
| Line | |
|---|---|
| 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.










