Turn on/off lightmaps via blueprint?

HI there, here is what i want to achieve : I do have an interior level with all dynamic lights, wich is too expensive at the moment. I was wondering if it was possible to switch my lights to stationnary and bake my lightmaps, then i could turn on and off my lightmaps via a blueprint when i shut down my lights, so I could get baked global illumination and dynamic lighting at the same time. If not, is there any other ways to do the same kind of thing differently ?

If using Stationary Lights then you can just set their intensity to 0 to turn them off.

yes, but it won’t get rid of the lightmap it has created after building lighting…this is what I aim for. I want the lightmap to be turn off at the same time i shut down my light.

So the lightmap itself will be black so as to not be visible though sometimes you need to set the intensity to a bit of a negative value instead of just 0. Dynamically lit objects in the seen will still get bounced lighting from the area in some off ways and I can only assume this is a bug.

bump :confused: hope my question is clear enough

There is no way to turn off the lightmap without major code changes. I think your only choice is to use the stationary lights as mentioned in my answer or toggle between identical levels where one has all lights dynamic vs one that is static.

I agree, it would be nice to have a direct lightning only visual mode…