Last change
on this file since 12202 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 | |
---|
3 | varying vec2 depth; |
---|
4 | |
---|
5 | void 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.