Game Engine Programming 059.2 - Optimizing Forward+: using bounding spheres | C++ Game Engine

Опубликовано: 18 Март 2026
на канале: Game Engine Series
1,815
45

✅ Support Game Engine Series   / gameengineseries  
In the last video we cleaned up the C++ code for lighting as well as fixed a few bugs. So, now we're ready to optimize the light-culling shader, which is going to be the topic for the rest of this episode.
🟥(Red Episode)

✅ Donations:
https://www.paypal.com/paypalme/arash...

✅ Discord
  / discord  

✅ Twitter
  / primalnippleman  

🐱 Mr. Frummel & Louis' unreal adventures
  / mr.frummel  

💜 Big thanks to Tribal Elders:
Omar Rayyan, Von Bismarck, Falcon1911

💚 Big thanks to Chief patrons:
Simon, Eero Laine

🧡 Big thanks to Shaman patrons:
Zachary Shrout, mg, Shaun Mitchell, Neil Wang, Jan Ohlmann, deathcat00, Talis Lincoln

00:00 - intro
00:46 - using simple lights
02:40 - better way of calculating view-space depth
06:34 - GPU thread waves and branching
08:00 - explain constructing the bounding sphere for spotlight cones
09:30 - use bounding spheres for spotlight intersection testing
19:23 - measure performance gain

keywords: graphics, renderer, lighting, light culling, directx, direct3d, hlsl

by Arash Khatami
-------------------------------------------------------------
#PrimalEngine #GameEngineSeries #GameEngineProgramming #TheGameEngineProgrammingSeries