Why some unwanted light artifacts are being created in my 3d first person game?

Godot Version

v 4.3

Question

I want a night scene with fog and only the wall lights but for some reason, there are unwanted patches of lights on the floor. Disabling volumetric fog also does not help.

My OmniLight3D Settings

I do not have any other type of lights for example DirectionalLight3D.

These are my WorldEnvironment settings.


I have enabled SDFGI with default settings.

How can I remove these random patches of light from the ground?

1 Like

Disabling the SDFGI is solving the random light patches but the scene does not look good without SDFGI

SDFGI is limited in precision by nature (it’s a form of software raytracing), and raytracing struggles with very strong small lights unless the sample count is very high.

I suggest using baked lightmaps or VoxelGI instead. If you want to keep using SDFGI, I would exclude the strong lights by changing their global illumination mode to Disabled and look into faking GI by adding secondary light sources that are weaker, but with a larger range.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.