Common Image Based Lighting functions. (IBL). More...
#include "math/vector.hpp"Variables | |
| constexpr int32 | shBandCount = 3 |
| constexpr int32 | shCoeffCount = 9 |
Common Image Based Lighting functions. (IBL).
IBL is a technique used in physically based rendering (PBR) to simulate realistic lighting in 3D scenes by using an image to define the light environment. Instead of relying solely on traditional light sources like point lights, directional lights, or spotlights, IBL captures the complexity of real-world lighting, including ambient light, reflections, and diffuse lighting, by using images (often HDRI, High Dynamic Range Images) that represent the surrounding environment.
Based on this project: https://google.github.io/filament/Filament.html
|
constexpr |
Spherical harmonics band count.
|
constexpr |
Spherical harmonics coefficient count. (3 * 3)