gi = global illumination
DESCRIPTION
GI = Global IlluminationTRANSCRIPT
![Page 1: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/1.jpg)
![Page 2: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/2.jpg)
Why GI?
![Page 3: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/3.jpg)
Why GI?
![Page 4: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/4.jpg)
What is GI?
Direct lighting Indirect lighting
What is GI?
![Page 5: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/5.jpg)
Only Direct Lighting Direct + Indirect
What is GI?
![Page 6: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/6.jpg)
ON OFF
What is GI?
![Page 7: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/7.jpg)
What is GI?
● Direct lighting – sucks
● Direct + Indirect lighting – cool
What is GI?
![Page 8: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/8.jpg)
8 spp 13 sec
200 spp 5 min
1000 spp 25 min
25k spp 10.3 h
2.4 GHz Intel Core 2 Quad, 1024 x 768, by Kevin Beason
GI in 99 Lines of C++
![Page 9: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/9.jpg)
● Brute force – really heavy
GI in 99 Lines of C++
![Page 10: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/10.jpg)
MotoGP
Hemisphere Lightning
![Page 11: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/11.jpg)
Radiosity Map
Hemisphere Lightning
![Page 12: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/12.jpg)
Hemisphere Lighting
● Fast & simple
● Too simple
Hemisphere Lightning
![Page 13: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/13.jpg)
Mirror's Edge
Lightmaps
![Page 14: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/14.jpg)
Lightmaps
![Page 15: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/15.jpg)
● Only static objects
Lightmaps
![Page 16: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/16.jpg)
Killzone 2
Light Probes
![Page 17: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/17.jpg)
Light Probes
![Page 18: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/18.jpg)
Light Probes
![Page 19: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/19.jpg)
Light Probes
![Page 20: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/20.jpg)
● No dynamic lights
● No self-illumination of dynamic objects
Light Probes
![Page 21: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/21.jpg)
Light Propagation Volumes
![Page 22: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/22.jpg)
Light Propagation Volumes
![Page 23: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/23.jpg)
Light Propagation Volumes
![Page 24: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/24.jpg)
Light Propagation Volumes
![Page 25: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/25.jpg)
No propagation
Light Propagation Volumes
![Page 26: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/26.jpg)
After 4 iterations
Light Propagation Volumes
![Page 27: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/27.jpg)
After 6 iterations
Light Propagation Volumes
![Page 28: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/28.jpg)
After 8 iterations
Light Propagation Volumes
![Page 29: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/29.jpg)
Light Propagation Volumes
![Page 30: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/30.jpg)
Light Propagation Volumes
![Page 31: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/31.jpg)
Light Propagation Volumes
● Dynamic lights
● No indirect shadows
Light Propagation Volumes
![Page 32: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/32.jpg)
Algorithm
● Voxelize the geometry
● Construct sparse voxel octree (SVO)
● Inject direct lighting into the octree
● Propagate radiance
● Gather radiance by cone tracing
Voxel Cone Tracing
![Page 33: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/33.jpg)
Voxel Cone Tracing
![Page 34: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/34.jpg)
Voxelization
Voxel Cone Tracing
![Page 35: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/35.jpg)
Sparse Quad-tree
Voxel Cone Tracing
![Page 36: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/36.jpg)
Sparse Voxel Octree
Voxel Cone Tracing
![Page 37: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/37.jpg)
Voxel Cone Tracing
![Page 38: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/38.jpg)
Light injection
Voxel Cone Tracing
![Page 39: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/39.jpg)
Filtering up
Voxel Cone Tracing
![Page 40: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/40.jpg)
Voxel Cone Tracing
Voxel Cone Tracing
![Page 41: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/41.jpg)
Voxel Cone Tracing
![Page 42: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/42.jpg)
Voxel Cone Tracing
![Page 43: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/43.jpg)
37 ms 32 ms 14 min
Voxel Cone Tracing
![Page 44: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/44.jpg)
● Dynamic lights & objects
● Shadow casting
● Huge amount of memory
Voxel Cone Tracing
![Page 45: Gi = global illumination](https://reader034.vdocuments.site/reader034/viewer/2022050905/54b4d8af4a795994558b45da/html5/thumbnails/45.jpg)
Slideshare - https://www.slideshare.net/Sperasoft/
SpeakerDeck - https://speakerdeck.com/sperasoft
GitHub - http://github.com/sperasoft
Check out more knowledge sharing here:
Company site - http://www.sperasoft.com/
On Facebook - https://facebook.com/sperasoft
On Twitter - http://twitter.com/sperasoft
Learn more about Sperasoft: