I tried posting this in the C++ section but didn’t get any traction so I thought I’d try here.
I have a C++ class which I designed to create a spotlight which follows the player along a set path. This allows me to create some really cool shadows in realtime.
With a single instance of this class (so 1 spotlight) it works perfectly! But as soon as I create another one, the issues start. Usually only the spotlight closest to me will work, but sometimes they will both just flicker really quickly.
I think this has something to do with realtime spotlight culling, but I can’t seem to find anything about it on the web.
I can provide the C++ if that would help, but I thought I’d leave it out to save space for the time being.