Prototypes developed while reading RTR 4th edition.
The repository contains several standalone applications demonstrating real-time rendering techniques.
Implement Screen-Space Ambient Occlusion (SSAO) in a viewer supporting PBR shading and image-based lighting (IBL). The scene is highly customizable via a GUI.
Two SSAO variants are provided, both with optional bilateral filtering:
- Spherical sampling (Crytek).
- Normal-oriented hemispherical sampling, with optional importance sampling.
Implement Linearly Transformed Cosines (LTC) for shading with polygonal-light.\
LTCs accurately approximate common BRDFs, such as GGX. The integration of an LTC with a polygonal light is analytic and exact. Computational cost scales linearly with the number of light edges.
Implement sphere lights and tube lights with fast approximations, such as most-representative point.