Modify the ambient light of an area

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By literalcitrus
:warning: Old Version Published before Godot 3 was released.

Is there any way to modify the ambient light of specific areas of a scene in Godot 3.0 RC2? I want to be able to light up a square room independently of other parts of the scene. Ideally I want to modify ambient light rather than using an omni or spot light so that it’s consistently lit.

:bust_in_silhouette: Reply From: Zylann

There is no way to change ambient light for a specific part of the scene, because that’s not what it is made for. Ambient light is the last global lighting option that is applied.

What you want to do could be done by changing the material or vertex colors of your room so that it gets coloured differently. Maybe cheating with emission?

I did some digging and found that the ReflectionProbe allows for custom ambient lighting with it’s interior mode enabled (which is what my environments are). It seems to be working for my purposes, though I’m not 100% sure if using it purely for ambient light and disabling the reflections is a misuse of the node. Thanks for the help regardless.

literalcitrus | 2018-01-23 23:30