![]() |
Path Tracing
|
#include "cornell_scene.glsl"

Go to the source code of this file.
Functions | |
| void | intersects_mesh (const Ray ray, inout Hit h) |
| bool | intersects (const Ray ray, out Hit h) |
Variables | |
| uniform int | SCENE_PRESET |
BVH node stack
BVH descends directly to the nearer child, avoids stack traffic; pushes only the farther one, only if it was hit too
| uniform int SCENE_PRESET |
Chooses the current render preset