I am working on my personal cubemap system and I got now the problem that I have rooms with lights that I can turn off and on. so I would need 2 cubemaps for light on and one for lights off.
I want to prevent that everything in the scene needs to be updated all the time.
so I had the idea maybe its possible to **search** for gameobjects that uses the same Cubemap and change them.
I have a list for all dynamic objects that are moving and requesting a up to date cubemap.
but when they not moving they will not update her cubemaps like my static objects.
↧