Luz
Luz copied to clipboard
a Vulkan real-time rendering engine focused on PBR and Ray Tracing (Windows and Linux).
Luz Engine
A Vulkan engine that I'm developing to study and implement modern rendering techniques used by AAA games.
- Videos on Youtube
- Features
- How to build and run
- References and credits
Features
- Complete Vulkan Wrapper (including BLAS and TLAS creation)
- Temporal Anti-Aliasing
- Screen Space Volumetric Light
- Shadow Maps (Point/Directional)
- Scene Serialization (JSON)
- Deferred Rendering
- Real-time ray traced shadows and ambient occlusion
- PBR Shading with metallic, roughness, normal, ambient occlusion and emission
- Vulkan bindless resources
- Viewport camera with Perspective and Orthographic projections and Fly and Orbit controls
Gallery
-
Screen Space Volumetric Light
-
Deferred Rendering (Light, Albedo, Normal, Material, Emissive and Depth)

-
Ray traced shadows and ambient occlusion

-
PBR Shading and glTF models

-
Textures drag and drop

Requirements
- A GPU that supports VK_KHR_ray_query extension (list of supported GPUs)
- C++17 compiler. Tested with
Visual Studio 2019,ClangandGCC - CMake 3.7 or higher
- Vulkan SDK
For Linux
This projects uses GLFW library, to compile it under Linux with X11 (like the default Ubuntu 20.04) you will need:
sudo apt-get install xorg-dev
If you are using another window manager (like Wayland) you can check the dependencies here.
Build and Run
git clone --recursive https://github.com/hadryansalles/Luz
cd Luz
mkdir build
cmake . -Bbuild
cmake --build build --parallel 4
./bin/Luz
- Visual Studio: open
build/Luz.slnand compile/run the projectLuz.