Search Unity

Render two transparent objects back to back

Discussion in 'General Graphics' started by antonsem, Jul 20, 2019.

  1. antonsem

    antonsem

    Joined:
    Dec 13, 2012
    Posts:
    18
    Hi everyone! I have a scene with multiple glass and transparent objects. However, as you can see from the image in the attachment, I couldn't figure out how to render two objects, with transparent surface type back to back. I tried to check / uncheck pretty much every setting in the HDRP asset and both of the materials. Did I miss something?

    transparency_2.png

    Edit: For the reference here is how it looks like in the legacy pipeline:

    reference_legacy.png

    Edit 2: Additionally, when I get far from the transparent surfaces they look like a default opaque material. Both of the windows here have the same material but the one on the right is slightly farther away from the camera:

    distance.png

    Edit 3: Not sure if it is relevant, but I'm using Unity 2019.3.0a8
    Edit 4: Figured out the last part it was due to LOD
     
    Last edited: Jul 20, 2019