Skip to content

Conversation

@Calinou
Copy link
Member

@Calinou Calinou commented Oct 24, 2021

These are the settings I usually recommend based on my personal experience.

Contact shadows should generally be avoided as per godotengine/godot#35316.

These tips also apply to 3.3, but not 4.0 as shadow mapping code was rewritten there.

Preview

Before

DirectionalLight Point lights
image image

After

DirectionalLight Point lights
image image

@Calinou
Copy link
Member Author

Calinou commented Oct 24, 2021

While testing, I found a bug that affects those recommendations: godotengine/godot#54209 and godotengine/godot#54210

It doesn't affect all projects, but it's a caveat to keep in mind, so I documented it.

@Calinou Calinou force-pushed the lights-and-shadows-add-bias-tip branch from 28e59a0 to 372f50a Compare October 24, 2021 23:21
These are the settings I usually recommend based on my
personal experience.
@Calinou Calinou force-pushed the lights-and-shadows-add-bias-tip branch from 372f50a to 2dcf3b0 Compare October 24, 2021 23:25
@clayjohn clayjohn self-requested a review October 25, 2021 01:11
@mhilbrunner
Copy link
Member

@clayjohn Friendly reminder to your reminder :)

Co-authored-by: Clay John <claynjohn@gmail.com>
@mhilbrunner mhilbrunner merged commit eb7979e into godotengine:3.4 Nov 3, 2021
@mhilbrunner
Copy link
Member

Thanks!

@Calinou Calinou deleted the lights-and-shadows-add-bias-tip branch November 3, 2021 15:01
Calinou added a commit that referenced this pull request Nov 3, 2021
* Add recommendations for 3D light shadow bias

These are the settings I usually recommend based on my
personal experience.
Calinou added a commit that referenced this pull request Nov 3, 2021
* Add recommendations for 3D light shadow bias

These are the settings I usually recommend based on my
personal experience.
@Calinou
Copy link
Member Author

Calinou commented Nov 3, 2021

Cherry-picked to the 3.3 and stable branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants