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

Random noise generator in the shader not working on a brand new laptop #35

Closed
popojan opened this issue Oct 17, 2020 · 0 comments
Closed
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@popojan
Copy link
Owner

popojan commented Oct 17, 2020

Intel UHD 620 integrated graphics.
The shader is working but results in flat textures, completely regular wood pattern.

Observed on Windows 10, works on the same graphics in Linux.

Consider replacing
float rand(vec3 v) { return floatConstruct(hash(floatBitsToUint(v))); }
with a different function, see ashima/webgl-noise.

Screenshot for reference:
noise-not-working
Notice flat solid carpet, regular wood texture and darker white stones.

@popojan popojan added the bug Something isn't working label Oct 17, 2020
@popojan popojan self-assigned this Oct 17, 2020
@popojan popojan changed the title Random noise generator in the fragment shader not working on a brand new laptop Random noise generator in the shader not working on a brand new laptop Oct 17, 2020
@popojan popojan added the enhancement New feature or request label Oct 25, 2020
@popojan popojan mentioned this issue Dec 3, 2021
@popojan popojan closed this as completed Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant