Is it possible to swap between 2 lightmaps in-game? I was hoping to allow a player to turn a power generator on and off in a fairly complex section of my environment. When the lights are off emergency lighting is triggered showing a very different looking space. Strictly using triggerable dynamic lights wouldn't work nearly as well imo as having the 2 lighting schemes already baked in. Plus it's hard on the system.
So is there a way to swap out lightmaps dynamically? Or do UDK's lightmaps simply lack that sort of capability?
Thanks for any advice
Replies
Sorry, just trying to get a better/clearer idea of what you're suggesting.
This does mean an extra shader pass per dynamic light. (unless you're using DX11 deffered rendering) Which is harder on the engine.
Good to know, thanks.
No it doesn't; they're not dynamic lights (if you use it properly). It literally just switches the lightmap reference from one set to the other. The only time it starts to get sketchy is when toggle lights overlap.
Looking into toggle lights- sounds like the solution I need right now.