Search Unity

Bug 【BUG】MSAA & Depth Priming Mode Problem

Discussion in 'Universal Render Pipeline' started by lj51a51d, Sep 19, 2022.

  1. lj51a51d

    lj51a51d

    Joined:
    Sep 19, 2022
    Posts:
    10
    Unity 2021.3.9f1
    URP 12.1.7

    Use official template project.
    Open MSAA & Depth Priming Mode is Forced.
    Mobile(Android OpenES3) render effect got problem.(Vulkan is fine)

    Huawei example below:

    Also test XiaoMI, got problem too and it became color flicker.
     

    Attached Files:

  2. ManueleB

    ManueleB

    Unity Technologies

    Joined:
    Jul 6, 2020
    Posts:
    110
    Depth priming + MSAA doesn't work on GLES. There is a PR in progress that disables it on GLES when MSAA is enabled.

    As a general advice using depth priming + MSAA at all on mobile is VERY expensive and it is not providing any benefit, since most mobiles have hardware HSR so depth priming would give you no performance gains anyway. So using it on those platforms is not recommended.

    We are adding an extra option to force a depth prepass (but not using depth priming) if that is what you need
     
  3. lj51a51d

    lj51a51d

    Joined:
    Sep 19, 2022
    Posts:
    10
    OK, thanks for reply