Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use circular fade instead of linear fade for distance fade (3.x) #69959

Merged

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Dec 12, 2022

3.x version of #50294.

This makes distance fade look the same regardless of the camera angle, for all distance fade modes (Pixel Alpha, Pixel Dither, Object Dither). Distance fade now behaves like fog in this regard.

Tested on both GLES3 and GLES2.

Preview

image

This makes distance fade look the same regardless of the camera angle,
for all distance fade modes (Pixel Alpha, Pixel Dither, Object Dither).
Distance fade now behaves like fog in this regard.
@Calinou Calinou modified the milestones: 4.0, 3.6 Dec 12, 2022
@Calinou Calinou changed the title Use circular fade instead of linear fade for distance fade Use circular fade instead of linear fade for distance fade (3.x) Dec 12, 2022
@akien-mga akien-mga merged commit 2343ba1 into godotengine:3.x Dec 12, 2022
@akien-mga
Copy link
Member

Thanks!

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.

None yet

2 participants