Search Unity

EXR float16 to NativeArray

Discussion in 'Entity Component System' started by RoughSpaghetti3211, Sep 10, 2020.

  1. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,705
    Hello,

    I was wondering if someone could help me out. I have an exr image output encoding the position of a rendered surface as an (x,y,z) coordinate into an (r,g,b) color value float16. Is there a way do decode this into native array? for exr texture.