GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Why do my graphics look wrong?

the19thbearthe19thbear Posts: 102Member
Hi.
I have a background image in one of my projects.
Its a gradient from light purple to dark purple.
when testing the app on my mac, it looks fine, but when testing it on the iphone via the viewer it looks really bad. the gradients are "divided" into non-smooth sections.. if you know what i mean:)

how can i prevent this?

thanks alot!

Comments

  • mynameisacemynameisace Hull, UKPosts: 2,484Member
    It's a problem not just GS but generally.

    In Photoshop, add a bit of grain to the image and should be good.

    Ace
  • jonmulcahyjonmulcahy Posts: 10,380Member, Sous Chef
    It's a bug in the physics engine they use. Do a search for gradients, there are a few workarounds you can do
  • AquariusAquarius Posts: 282Member
    i've experienced the same thing... similar to snes/sega genesis/any 16bit console color blending.

    i kinda like it tho :/

    brings nostalgia lol
  • the19thbearthe19thbear Posts: 102Member
    added some noise and it was gone!
    thanks alot people:)
  • DizkoDizko Posts: 498Member
    I believe this is an image compression problem. I believe the engine does some form of automatic compression on export, and when you do a image compression on a gradient, similar color pixels get blocked together. Since there are a lot of very similar color pixels in a monochromatic gradient ramp, you're likely to encounter "stepping" after compression. Adding a noise to the image would effectively make the pixels different enough to not get compressed, but would also increase the final size of the image.
This discussion has been closed.