Search Unity

  1. New Unity Live Help updates. Check them out here!

    Dismiss Notice

How can I access gbuffer textures and export them as EXR files?

Discussion in 'General Graphics' started by newguy123, Dec 20, 2019.

  1. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    276
    Hi Guys

    Any tips on accessing the various GBuffer textures and then export them as EXR files at specific high resolutions?

    It's basically for VFX use to be able to compose and manipulate the image in a comp package such as BlackMagic Fusion, After Effects or Nuke

    Typically from an offline renderer, we would export the various bits such as beauty pass, reflection, GI, refraction, shadow, lighting etc. Also various masks for some materials or objects.

    I see there is an offline renderer available on the asset store, which sounds like it can do what we need. But we really want to make our own one...
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    868
    Hi,
    Which render pipeline might be in question? Standard, HDRP, URP or something else (like a custom renderer.)
     
  3. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    276
    Need a solution for URP and HDRP, but one for HDRP will be priority (HDRP with raytracing)
     
    Last edited: Dec 20, 2019
  4. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    276
    In HDRP with Raytracing, it will be good if we can do highres screenshots.

    1 - For example, would be nice to save out PNG or EXR images, with the skybox set to affect alpha. That way we can replace the sky in post in Photoshop or Nuke or whatever.
    2 - Would be good to get rgb masks out of selected elements, or somehow apply a post volume material with ids, to affect certain elements. That way if we want to adjust elements in Nuke in post, we can get masks for things like walls, doors, furniture etc.
    3 - We do a lot of "Stick CG elements into backplates", photomontages, aerial drone footage and stick CG buildings in there etc.
     
unityunity