- Home /
How to turn off a baked shadow
I am considering my real time shadows with baked shadows to make my game look better, however I also want the player to be able to turn off the light in the game. If the player does turn the light off I want the baked shadows to turn off. Is this possible?
Answer by MakeCodeNow · Mar 09, 2014 at 01:23 AM
Baked shadows are, well, baked. You can't change just the shadow part. You either have to use dynamic shadows for these cases or store two different sets of lightmaps and switch out the lightmaps based on whether the light is on or off. Alternatively, just make things really dark when the light is off and people will probably never notice that the shadows from the light are still there. Many great games have done exactly that.
No prob! Please accept the answer if you're satisfied.