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

tonemap.glsl: Ensure color parameter of tonemap_reinhard() is positive #42915

Merged
merged 1 commit into from
Oct 19, 2020

Conversation

Yetizone
Copy link
Contributor

Similar to #42056 but targeting master as the issue still happens there.

Fixes #41901

Color values can become negative in the case of negative lights which
leads to undesired behaviour.
@akien-mga akien-mga added this to the 4.0 milestone Oct 19, 2020
@akien-mga akien-mga merged commit 7d4921d into godotengine:master Oct 19, 2020
@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.

Negative lights not working as expected
2 participants