Change lightmaps ar runtime
Is it possible to change Unity's baked lightmaps at runtime? I've looked around and tried things such as: http://wiki.unity3d.com/index.php/LightMapSwitcher however nothing visually changes in the scene view / game view.
Any pointers would be great, or if you have an alternative solution please do share.
Thanks,
Ben
Answer by Figment_Beennn · Mar 24, 2017 at 03:04 PM
Never mind, regardless of the file name, assigning the textures generated to both near and far arrays (even though they're using the same texture) fixed it.
Answer by orkungo · Nov 13, 2017 at 07:20 AM
Hi, what do you mean by "assigning the textures generated to both near and far arrays" ?
I am struggling with the same situation, therefore maybe your approach would fix it :) Do you use Lightmap Switcher with your solution?
Your answer
Follow this Question
Related Questions
Inspector value changed automatically to an old value on runtime 0 Answers
How to gradually change color of sprite during runtime 0 Answers
Understandable Answer to frequesntly asked question - clarified for noobs like me 0 Answers
Setting slider value over time using C# script? 0 Answers
Move around Z axis 1 Answer