Hi all, I can’t seem to figure out how to get rid of this gradient banding (see screenshot).
I’m using
Brush.verticalGradient
and driving myself crazy trying to figure this out. Anyone have any ideas?
r
romainguy
05/08/2025, 11:32 PM
If there's a way to enable dithering, do that. But it should be enabled by default on gradients. If it's not Compose/Compose for Desktop should fix that
👀 1
romainguy
05/08/2025, 11:32 PM
Alternatively use a larger color difference 😕
romainguy
05/08/2025, 11:32 PM
Unfortunately not much more you can do beyond rolling out a custom shader
🙏 1
d
dleuck
05/09/2025, 4:04 AM
I've had issues like this. Just take control and draw the gradient on a Canvas composable. Compose for Desktop has a number of issues in the graphics libraries.