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

Transparent objects not in correct position when using Deferred Rendering

Discussion in 'General Graphics' started by glitchers, Mar 22, 2018.

  1. glitchers

    glitchers

    Joined:
    Apr 29, 2014
    Posts:
    64
    I have an issue where transparent objects or anything rendered with Forward Rendering is not in the correct position compared to the opaque objects. This issue doesn't happen in the scene view but does happen in both the game view and in builds.

    I am using the built-in Standard (Opaque and Transparent) and Particle/Projector shaders.

    The transparent objects are further from their correct position the closer to the edge of the screen, and also while on screen will drift slowly into their correct position.

    I am using Unity 2017.3.1p1 and have replicated this issue on both PC and Mac.

    Here are some images of the issue.

    Trails not attached to objects.


    Transparent glass floating from position


     
  2. Meheraj7

    Meheraj7

    Joined:
    Nov 5, 2015
    Posts:
    81
    I am facing the same problem. Did you find any solution?
     
  3. glitchers

    glitchers

    Joined:
    Apr 29, 2014
    Posts:
    64
    I found the issue was to do with using the Post Processing (v1) stack and going from using Temporal Anti-Aliasing to not using it.

    I am not sure why this happens. I hope this helps you find a solution or workaround.
     
  4. Meheraj7

    Meheraj7

    Joined:
    Nov 5, 2015
    Posts:
    81
    but I am using Post Processing v2 and yes I have anti aliasing too. so maybe I should turn it off and try?
    Also My one only happens in build :/ its okay in the editor
     
  5. glitchers

    glitchers

    Joined:
    Apr 29, 2014
    Posts:
    64
    I have not tested if it happens with V2, sounds like it does.

    I found the important thing was not changing between Temporal and non-Temporal while the camera was active. It doesn't occur if the settings are applied before rendering happens.

    Build-only errors are the worst! So time-consuming...
     
    Meheraj7 likes this.
  6. Meheraj7

    Meheraj7

    Joined:
    Nov 5, 2015
    Posts:
    81
    Dude I Love you!!!!!! <3 It fixed it for me
     
    glitchers likes this.