Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Custom image effect is gone when MSAA is on?

Discussion in 'Image Effects' started by AhSai, Apr 28, 2019.

  1. AhSai

    AhSai

    Joined:
    Jun 25, 2017
    Posts:
    129
    I have a custom image effect script that does a RenderTexture.GetTemporary to do some effect on it, then render it to the screen. It works fine if the MSAA is off on this RT. However, if I set any MSAA level to this RT, my image effect will be gone. The same thing will happen when I toggle the "MSAA" on the main camera, it will immediately remove the image effect. The only different is that if I turn on MSAA on the main camera, image effect will not show in the editor, whereas if I set MSAA in my RT through script, the image effect will remain in the editor, but it will still not show when I export it to my target device (Android). Does anyone know how to fix this?
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    What Unity version, graphics API, graphics pipeline and target device are you using?