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

shaders: Use sin-less hash for noise #5607

Merged
merged 1 commit into from Apr 17, 2024
Merged

shaders: Use sin-less hash for noise #5607

merged 1 commit into from Apr 17, 2024

Conversation

Epikastema
Copy link
Contributor

Changes the hash function in the noise shader to avoid sin(). Fixes diagonal lines from noise observed in #3806.

Needs testing on older nvidia hardware/drivers, and AMD/Intel hardware to make sure it works on all platforms. I have only tested on 4000 series GPUs with the 550 driver.

@vaxerski vaxerski requested a review from fufexan April 16, 2024 14:19
@vaxerski
Copy link
Member

@fufexan for testing

@MahouShoujoMivutilde
Copy link

Gtx 970 on 550.67 works fine, lines are gone.

Before and after

17-04-2024-06_08_57

17-04-2024-06_08_33

Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vaxerski vaxerski merged commit 8222234 into hyprwm:main Apr 17, 2024
9 checks passed
ozwaldorf added a commit to ozwaldorf/scenefx that referenced this pull request Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants