Do you have any recommendations on handling a simple example as efficiently on performance as I can? I have a large room with a lot of shadow casters, and even when I have all the walls drawing shadows with submit_shadow_rect and static set to true, in the debugger I'm still seeing the shadow caster draw steps eating up most of my performance. My only goal is to make it so players can't see things behind walls as efficiently as possible
Viewing post in NixFX Lighting System for GameMaker Studio comments
Hey there! You may need to disable them when they are out of view. Check out the docs for instance_deactivate_object: https://manual.gamemaker.io/lts/en/GameMaker_Language/GML_Reference/Asset_Manage...