- Home /
Can lightmap intensity be controlled at runtime?
Hello, I am making a game in which the environment will be very intractable. I want many of the rooms to have light switches that allow the lights to be switched on and off. When the lights are off I want the room to be almost (if not completely) pitch black. The player will also have a flashlight. I also want the lighting from the rooms when the lights are on to be baked (for nice shadows and such). I'm already aware that I can control the lightmap index via renderer.lightmapIndex, but is there a way that I can control the intensity of the lightmap to interpolate it from completely off to all the way on? The reason is because I want to have lights that can flicker as well.
Your answer

Follow this Question
Related Questions
shader for tree leaves + lightmap 1 Answer
How to bake shadows? 2 Answers
Lightmap Problems in Unity 3.5 0 Answers