Search Unity

Graphics Improve corners breaks SSR

Discussion in '5.3 Beta' started by AcidArrow, Oct 6, 2015.

  1. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    5,759
    improvecornersON.png
    improvecornersOFF.png

    Case 733785. I didn't attach a project (I'm too tired to make another one today). If it's needed, let me know, I can make something tomorrow.

    I'm on a Mac (not sure if relevant), and I don't think it breaks ALL scenes.
     
  2. morgan3d

    morgan3d

    Joined:
    Oct 6, 2015
    Posts:
    4
    I'm assuming that the top image has improve corners turned on?
    Can you show the normal map from the floor?
     
  3. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    5,759
    It's not the normal map, it's the metallic smoothness map for some bizarre reason I don't understand.

    Both have improve corners on, the first image has a metallic/smoothness map on the material, the second doesn't.

    It also works properly if I remove improve corners.

    I'll prepare a testcase.
    Screen Shot 2015-10-06 at 21.05.09.png
    Screen Shot 2015-10-06 at 21.05.45.png
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    5,759
    I sent another bug report to attach a minimal testcase (not sure if I could add it to the current bug).

    It's Case 733952

    In the scene I sent do the following:

    1) On the main camera, try turning on and off the improve corners on the Screen Space reflections.

    2) The reflections almost disappear when improve corners is ON.

    3) Now choose the material of the planes and remove the metallic smoothness map from it.

    4) Now reflections work even when improve corners is ON.

    Conclusion:

    When improve corners is on and a material has a metallic smoothness map, the effect breaks.

    Please note: I am on a mac, could be related. Haven't confirmed if it happens on Windows as well.
     
  5. morgan3d

    morgan3d

    Joined:
    Oct 6, 2015
    Posts:
    4
    Thanks, I'll take it from there.