Random noise generator in the shader not working on a brand new laptop
Closed this issue · 0 comments
popojan commented
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:
Notice flat solid carpet, regular wood texture and darker white stones.