- Home /
Light Maps / LoadLevelAdditive / Prefab
My game needs the ability to load rooms from either load level additive or better prefabs. I need to use the light mapping features. Once I attempt to load level additive a disabled level or prefab so I can position and rotate it then enable it the light maps are there but not functioning properly. What is the correct way to do this? They will share light maps correct?
I need to be able to position and rotate the rooms at run time to randomly construct a level.
I have been wrestling with and fighting this for quite some time and thanks for any help!
O$$anonymous$$ to expound on the subject.
Here is a level...
Right side has the light map.. left side which i created by instantiating the right side. As you can see the light-maps are not working on the left..
Right:
Left: https://ryanmitchellgames.files.wordpress.com/2015/05/screen-shot-2015-05-01-at-2-18-00-pm.jpg?w=450
I need to load a level with load level additive... then copy it to a new location and enable it.. everything even batching is working but light maps are not... What do I need to do to make the instantiation use the same light-maps as the gameobject it was copied from?
Thanks so much for any help this has stopped my progress....