Lite Ray Tracer is a small(actually not) renderer using OpenGL.
- Physically Based Rendering
- BVH & SAH Boost
- Wavefont OBJ (with mtl)
- glTF
- Built-in GUI
- SPIR-V Shader
LiteRT is managed with CMake
. You can build this project with CMake Tools on Windows and Linux (macOS do not support OpenGL 4.6).
Besides, LiteRT requires your computer supporting OpenGL 4.6!
On Windows, you need to install CMake
and glslangValidator
.
You can install them matually or using scoop.
scoop install cmake glslangValidator
Debian / Ubuntu / Mint (X11)
sudo apt install cmake xorg-dev glslc
If you are using Wayland or other Linux Distributions, you can find appropriate commands in GLFW Documents. The required dependecies of LiteRT are installed for GLFW.
Run following commands under project root directory.
mkdir build & cd build
cmake ..
cmake --build -DCMAKE_BUILD_TYPE=Release .
Then get executable app under ~/exec-dir/
.
These projects are used in here. Thanks to their efforts!