# IBL
Play Demo
IBL (Image-Based Lighting) demo — metallic spheres with environment lighting.
Demonstrates:
- Procedural skybox cubemap providing ambient IBL
- IBL pass generating irradiance, prefiltered specular, and BRDF LUT
- Row of spheres with varying roughness (0.05 to 0.95)
- Row of spheres with varying metallic (0.0 to 1.0)
- Directional light for direct illumination
Controls:
Escape - Quit
Run: uv run python packages/graphics/examples/3d_ibl.py
## Source Code
```{literalinclude} ../../packages/graphics/examples/3d_ibl.py
:language: python
:linenos:
```