PlayMaker Feedback > Action Requests

Swapping Scene Lightmap Bakes At Runtime? (Day/Night)

(1/1)

westingtyler:
If I bake my scene using two different lightmap setups, as two different light map sets (not even sure if that's possible?) it'd be great to be able to load the different lightmap sets into an array as prefabs or something, then switch between them at runtime, like to switch between day and nighttime lighting in the city.

Is that possible?

djaydino:
Hi.
i believe that Unity stores lightmaps per-scene.

So you might want to duplicate the scene and make a light map for each.

If you use load scene async you could split things up so that you only need to load parts of the scene (where lightmap is used)

Maybe this can get you in the right direction :

//www.youtube.com/watch?v=Z73WZksBwTo

westingtyler:
hey, thanks for the info. i don't see anything after the :. it looks like some invisible square if I control+drag over it?

djaydino:
Hi.
For some reason you are not seeing the youtube video.

Here is the direct link : //www.youtube.com/watch?v=Z73WZksBwTo

Navigation

[0] Message Index

Go to full version