Temporarily disable static lighting/lightmap rendering in editor?

I see r.AllowStaticLighting, but it’s read-only.

Thoughts?

Thanks!

Hi PowerDesign,

You can use the option for “Force No Precomputed Lighting” in the World Settings. This can be disabled per-level rather than for the entire project. The console command above is a project-wide command that must be set in the INI files or the Project Settings, which requires a restart of the engine.

When you need to use built lighting for your project again you can just uncheck the option in World Settings and everything can be built.

I hope this helps.

Tim

Tim, that requires rebuilding lighting, which is exactly what I want to avoid, my goal is something like Show > Lighting Components, temporarily/instantly.

With static lighting this creates a lightmaps that is for the level. These cannot be turned off/on without using the options I listed above. Even r.allowStaticLighting will disable static lighting for the project and you will still need to rebuild.

I’m not exactly sure what the purpose of this would be, since any movement of any object in the scene would require lighting to be built again anyhow.

If you just want to see the scene with no GI/Bounce light you can add a post process volume that is unbound and set the Global Illumination > Indirect Lighting Intensity to be 0 or use the viewmode > Show > Lighting Components > Global Illumination as unchecked.

OK, thanks, Tim.