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. Dismiss Notice

White artifacts around model edges

Discussion in 'General Graphics' started by wowemotions_company, Apr 18, 2016.

  1. wowemotions_company

    wowemotions_company

    Joined:
    Jan 7, 2015
    Posts:
    8
    Hello, I am having a weird problem and it's driving me crazy. I get these white artifacts around my models edges and they kill realism within the scene, even with antialising at maximum forward and defeferred mode I get them. Any ideas on how to fix this error. Thanks.
     

    Attached Files:

  2. pointcache

    pointcache

    Joined:
    Sep 22, 2012
    Posts:
    576
    they should appear usually only in deferred.
    Make sure your camera has hdr disabled in forward mode when you are using msaa.
    alternatively at the cost of performance try using SSAA from asset store, it should work in deferred
     
  3. wowemotions_company

    wowemotions_company

    Joined:
    Jan 7, 2015
    Posts:
    8
    I can't use forward rendering mode since my PBR textures looks bad without HDR enabled, and I can't use Screen Space reflections in forward mode either. I don't understand how they get this AA quality in demos like this one
    . Any other ideas can it maybe be some normal map problems?
     
  4. pointcache

    pointcache

    Joined:
    Sep 22, 2012
    Posts:
    576
     
  5. pointcache

    pointcache

    Joined:
    Sep 22, 2012
    Posts:
    576
    problem is usual - cant have msaa and hdr. but ssaa and hdr should work together.
     
  6. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,209
    As @pointcache mentioned already neither Unity's forward rendering with HDR or deferred rendering paths support MSAA which is what the anti aliasing option in quality settings turns on. You have to use some form of post process anti aliasing (FXAA, SMAA, DLAA, etc) or super sampling (render at a higher resolution and downscale).

    I would recommend using deferred rendering with the SMAA from Unity's Cinematic Image Effects package (currently still in pre-release, but the SMAA works well).
    http://forum.unity3d.com/threads/cinematic-image-effects-pre-release-package.372562/