Port over the logic from Godot 3.5 for indirect lighting. This should fix many issues about indirect bounces causing more energy and improve the overall quality of the result.
ERR_FAIL_COND
ERR_FAIL_NULL
sanity
safety
proxy_to_pthread
platform=web