Search Unity

Load OpenExr image's alpha value in mobile devices.

Discussion in 'General Graphics' started by naiwen_xie, Jul 11, 2019.

  1. naiwen_xie

    naiwen_xie

    Joined:
    Mar 11, 2017
    Posts:
    12
    I have a float 16f openExr picture exported from a render texture, the alpha channel storing some data. In standalone mode, I can get access to the picture's alpha value (the image is in dx5 format) no matter in shaders or in the image preview window.
    upload_2019-7-11_21-25-10.png

    The problem is when I switch to mobile platforms, I can no longer view the openExr picture's alpha channel whatever its format. I can either read it's original storing alpha value in the shader (the read value actually looks like the intensity of the pixel. The M in RGBM encoding). The problem is how can I load the original OpenExr picture's alpha value on mobile devices.

    upload_2019-7-11_21-25-19.png
     

    Attached Files: