Weird stripes when using UIGradient

Hey! So I am trying to create loading screen for my game and wanted to add a nice UIGradient to the frame:
2024-11-02_19h56_40
2024-11-02_19h56_46

However, this results in weird stripes appearing:

Is there a possible fix for this?

I don’t see any stripes (except on the very edges)
However, I don’t see a Gradient either

NEVERMIND! I have found why there are stripes. It’s because of I have added such a tiny gradient that there are not enought colors to create a smooth gradient. Apologies for the topic. :sob:

If you want to get around this problem, create an image and use a technique called dithering, which uses the same number of colors but creates a more fuzzy switch between them. I tried doing that on the image you provided and I’d say it does a decent job at decreasing the stripes.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.