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

Fix gamma causing nans #578

Merged
merged 1 commit into from
Dec 14, 2024
Merged

Conversation

Xtarsia
Copy link
Contributor

@Xtarsia Xtarsia commented Dec 14, 2024

  • Resolves this error when using gamma != 1.0 for brushes:

image

  • Adds a check to correct nan / inf if present in an existing heightmap.

@TokisanGames TokisanGames added the bug Something isn't working label Dec 14, 2024
@TokisanGames TokisanGames changed the title fix gamma nan edge case Fix gamma causing nans Dec 14, 2024
@TokisanGames TokisanGames merged commit 54136e4 into TokisanGames:main Dec 14, 2024
13 checks passed
@TokisanGames
Copy link
Owner

Great sleuth work. Thanks!

@Xtarsia Xtarsia deleted the fix-gamma-nans branch December 14, 2024 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants