Shader Gradient smoother

Hey everyone!

I have an Gradientshader on my Ground, which look nice, but it need to have a “Smoother” look.

At the Moment, you see some Circles… how can i get a smoother transition between the color?

PlayGround:Babylon.js Playground

Hope you can Help :smiley:

I made it smaller and cleaner to read :slight_smile:

You are seeing banding effects due to precision issues.
I added a tiny dithering effect that we also use in our shaders:

1 Like