![]() |
Path Tracing
|
Functions | |
| vec3 | unproject (float x, float y, float z) |
| void | main () |
Variables | |
| out vec3 | nearPoint |
| out vec3 | farPoint |
| vec2 | positions [4] |
| Covers the entire screen. | |
| uniform mat4 | view |
| uniform mat4 | projection |
| vec3 unproject | ( | float | x, |
| float | y, | ||
| float | z ) |
| out vec3 farPoint |
| out vec3 nearPoint |
| vec2 positions[4] |
Covers the entire screen.
| uniform mat4 projection |
| uniform mat4 view |