- Home /
Swapping lightmaps during runtime?
Is it possible/how to swap level's lightmap during runtime? I have 2 lightmaps, one for day and one for night and I'd like to swap them on the go. Thanks
Comment
Answer by Paulius-Liekis · Dec 05, 2012 at 11:25 AM
Yes, you can (except Flash plaftorm - you have to do workarounds there). On other simply use this: http://docs.unity3d.com/Documentation/ScriptReference/LightmapSettings-lightmaps.html
Your answer
Follow this Question
Related Questions
How to swap lightmaps? 1 Answer
Advanced runtime lighting calculation 0 Answers
Blending between 2 lightmaps 0 Answers
Can't Re-Enable Lightmaps after Disabling Them at Runtime 1 Answer
Can I create lightmaps at runtime? 3 Answers