A minimal GPU accelerated ray tracer written in OpenGL.
10k Samples / 813 Seconds- Next event estimation
- GGX microfacet model for variable roughness
- Sampling of visible normal distribution function
- Progressive rendering
- BVH acceleration
- CMake
- GPU with OpenGL (>= 4.6) support
- GLFW (already included)
- GLAD (aldreay included)
- STB (already included)
mkdir build
cd build
cmake ..
make
raytracer <NUM_SAMPLES> <IMAGE_SIZE> <IMAGE_PATH>
- SVGF denoising
- Transmissive materials (glass, water etc.)
- Allow importing OBJ files
- Bidirectional path tracing
- Move to Vulkan and use hardware ray tracing acceleration
- There are some ringing artifacts on the left Cuboid and the Sphere (see diffuse.png).
- Using BVH is actually slower than not using it (11s vs 8s for 100 samples).