Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Artifact in particles from sprite

Discussion in 'General Graphics' started by JijiruJiru, Aug 4, 2023.

  1. JijiruJiru

    JijiruJiru

    Joined:
    Aug 3, 2023
    Posts:
    6
    Hi,

    newbie here - the sprite is self made pls don't laugh at it

    I am seeing a weird artifact in particles from a sprite using the 'Texture Sheet Animation' in the particle system. The artifact is visible both in the editor and in the running game, as well as in the built game... I confirmed numerous times that the artifact is in fact not in the sprite itself. I wonder if someone knows what is happening and how I can get rid of it.

    the artifact in the bottom left corner - every particle has the exact same artifact
    upload_2023-8-4_14-6-55.png

    the IMO important particle system settings
    upload_2023-8-4_14-7-47.png

    the sprite itself (obviously without the artifact) - the sprite is a PNG
    upload_2023-8-4_14-8-20.png
     
  2. JijiruJiru

    JijiruJiru

    Joined:
    Aug 3, 2023
    Posts:
    6
    I noticed that I messed up the tiny shadow to the left a bit ( I was aware of it before but didn't bother )... I was wondering if that messes somehow with whatever the engine does when rendering the particle, so I corrected it and at least it got better:
    upload_2023-8-4_19-56-39.png

    you can still see an artifact but it is much better and unnoticeable in my "game"

    I also noticed that the image of the particle seems blurry compared to the original, so I am wondering if some form of anti aliasing happens and maybe that messes things up ¯\_(ツ)_/¯

    although I have a workaround now, still some questions remain:
    • is there some anti aliasing happening (or something similar)? can I disable it somehow?
    • whatever happens it seems to be doing weird stuff under certain conditions with pixels close to the edge, so I am ASSUMING that there might be something not quite right
     
  3. JijiruJiru

    JijiruJiru

    Joined:
    Aug 3, 2023
    Posts:
    6
    hmm i found where the AA is coming from (the import settings for the texture) but disabling AA and compression there did not eliminate the artifact, so I am still searching