Hi, I am currently learning glsl and have started the book of shaders. Everything was going fine until I got to the last chapter available fractal brownian motion The Book of Shaders: Fractal Brownian Motion. When I copy the last exemple in TD there’s a weird kind of shape banding effect. I tried on another windows pc and the same thing appears. I also tried on a macbook and it is normal like the website. I found some ways to cancel the unwanted effect but I really want to wrap my head around this one and the original code is way better looking.
Hey I noticed the same thing a few days ago and found this workaround : I used the built in TDsimplexnoise function instead of the noise function in this shader.
Thanks! Yes I’ve also tried this and worked well with the simplex and perlin but I do prefer the custom random function. I also changed the Angle & Trig. Function from sin to atan in the random and helped.