Hi all, I can’t seem to figure out how to get rid ...
# compose-desktop
s
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
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
Alternatively use a larger color difference 😕
Unfortunately not much more you can do beyond rolling out a custom shader
🙏 1
d
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.
🙏 1