Why GI?
Why GI?
What is GI?

Direct lighting

Indirect lighting

What is GI?
What is GI?

Only Direct Lighting

Direct + Indirect
What is GI?

ON

OFF
What is GI?

●

Direct lighting – sucks

●

Direct + Indirect lighting – cool

What is GI?
GI in 99 Lines of C++
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,...
GI in 99 Lines of C++

●

Brute force – really heavy
Hemisphere Lightning

MotoGP
Hemisphere Lightning

Radiosity Map
Hemisphere Lightning

●

Fast & simple

●

Too simple

Hemisphere Lighting
Lightmaps

Mirror's Edge
Lightmaps
Lightmaps

●

Only static objects
Light Probes

Killzone 2
Light Probes
Light Probes
Light Probes
Light Probes

●

No dynamic lights

●

No self-illumination of dynamic objects
Light Propagation Volumes
Light Propagation Volumes
Light Propagation Volumes
Light Propagation Volumes
Light Propagation Volumes
No propagation
Light Propagation Volumes

After 4 iterations
Light Propagation Volumes

After 6 iterations
Light Propagation Volumes

After 8 iterations
Light Propagation Volumes
Light Propagation Volumes
Light Propagation Volumes

●

Dynamic lights

●

No indirect shadows

Light Propagation Volumes
Voxel Cone Tracing

Algorithm
●

Voxelize the geometry

●

Construct sparse voxel octree (SVO)

●

Inject direct lighting ...
Voxel Cone Tracing
Voxel Cone Tracing

Voxelization
Voxel Cone Tracing
Sparse Quad-tree
Voxel Cone Tracing

Sparse Voxel Octree
Voxel Cone Tracing
Voxel Cone Tracing

Light injection
Voxel Cone Tracing
Filtering up
Voxel Cone Tracing
Voxel Cone Tracing
Voxel Cone Tracing
Voxel Cone Tracing
Voxel Cone Tracing

37 ms

32 ms

14 min
Voxel Cone Tracing

●

Dynamic lights & objects

●

Shadow casting

●

Huge amount of memory
Check out more knowledge sharing here:
Slideshare - https://www.slideshare.net/Sperasoft/
SpeakerDeck - https://speakerdec...
Gi = global illumination
Upcoming SlideShare
Loading in …5
×

Gi = global illumination

1,500 views

Published on

GI = Global Illumination

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,500
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
14
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Gi = global illumination

  1. 1. Why GI?
  2. 2. Why GI?
  3. 3. What is GI? Direct lighting Indirect lighting What is GI?
  4. 4. What is GI? Only Direct Lighting Direct + Indirect
  5. 5. What is GI? ON OFF
  6. 6. What is GI? ● Direct lighting – sucks ● Direct + Indirect lighting – cool What is GI?
  7. 7. GI in 99 Lines of C++ 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
  8. 8. GI in 99 Lines of C++ ● Brute force – really heavy
  9. 9. Hemisphere Lightning MotoGP
  10. 10. Hemisphere Lightning Radiosity Map
  11. 11. Hemisphere Lightning ● Fast & simple ● Too simple Hemisphere Lighting
  12. 12. Lightmaps Mirror's Edge
  13. 13. Lightmaps
  14. 14. Lightmaps ● Only static objects
  15. 15. Light Probes Killzone 2
  16. 16. Light Probes
  17. 17. Light Probes
  18. 18. Light Probes
  19. 19. Light Probes ● No dynamic lights ● No self-illumination of dynamic objects
  20. 20. Light Propagation Volumes
  21. 21. Light Propagation Volumes
  22. 22. Light Propagation Volumes
  23. 23. Light Propagation Volumes
  24. 24. Light Propagation Volumes No propagation
  25. 25. Light Propagation Volumes After 4 iterations
  26. 26. Light Propagation Volumes After 6 iterations
  27. 27. Light Propagation Volumes After 8 iterations
  28. 28. Light Propagation Volumes
  29. 29. Light Propagation Volumes
  30. 30. Light Propagation Volumes ● Dynamic lights ● No indirect shadows Light Propagation Volumes
  31. 31. Voxel Cone Tracing Algorithm ● Voxelize the geometry ● Construct sparse voxel octree (SVO) ● Inject direct lighting into the octree ● Propagate radiance ● Gather radiance by cone tracing
  32. 32. Voxel Cone Tracing
  33. 33. Voxel Cone Tracing Voxelization
  34. 34. Voxel Cone Tracing Sparse Quad-tree
  35. 35. Voxel Cone Tracing Sparse Voxel Octree
  36. 36. Voxel Cone Tracing
  37. 37. Voxel Cone Tracing Light injection
  38. 38. Voxel Cone Tracing Filtering up
  39. 39. Voxel Cone Tracing Voxel Cone Tracing
  40. 40. Voxel Cone Tracing
  41. 41. Voxel Cone Tracing
  42. 42. Voxel Cone Tracing 37 ms 32 ms 14 min
  43. 43. Voxel Cone Tracing ● Dynamic lights & objects ● Shadow casting ● Huge amount of memory
  44. 44. Check out more knowledge sharing here: Slideshare - https://www.slideshare.net/Sperasoft/ SpeakerDeck - https://speakerdeck.com/sperasoft GitHub - http://github.com/sperasoft Learn more about Sperasoft: Company site - http://www.sperasoft.com/ On Facebook - https://facebook.com/sperasoft On Twitter - http://twitter.com/sperasoft

×