This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Recommended HDR pipeline using OpenExr to ASTC?

Hi, We're currently looking to switch to ASTC, though I do have some queries regarding the graphics pipeline for HDR formats.

Since we're looking to retain image quality as much as possible, can we use an Exr format for rendering (We currently use this for creating out lightmaps), and convert them directly to ASTC for our build?

It just when I've loaded exr files in to Mali it appears to compromise the image data (Darkening down), I presume it's clamping the channels?  

Is there a recommended pipeline for converting HDR images to ASTC that won't compromise the data?

Cheers,

Caroline

Parents
  • Hi Peter,

    Yes I wanted to send you the original file so you take a look at it in more detail, I've just tried to reattach (See image below), It looks as though I can't send you the original OpenExr file as this blog doesn't seem to recognize that file format?  Though you can see it in the example below; test file just show a very basic 'Render To Texture' setup using OpenExr for light mapping.  

    Ideally we would like to be able to view HDR files within the Mali Texture Compression Tool and be able to view the before and after compression, so we can evaluate what optimal compression settings would be suitable for our work. But you seem to indicating that it Mali can not handle HDR files without altering and compromising the values, is that the case?

    Thanks,

    Caroline

Reply
  • Hi Peter,

    Yes I wanted to send you the original file so you take a look at it in more detail, I've just tried to reattach (See image below), It looks as though I can't send you the original OpenExr file as this blog doesn't seem to recognize that file format?  Though you can see it in the example below; test file just show a very basic 'Render To Texture' setup using OpenExr for light mapping.  

    Ideally we would like to be able to view HDR files within the Mali Texture Compression Tool and be able to view the before and after compression, so we can evaluate what optimal compression settings would be suitable for our work. But you seem to indicating that it Mali can not handle HDR files without altering and compromising the values, is that the case?

    Thanks,

    Caroline

Children
  • When displaying an HDR texture on an LDR application the view on screen is inevitably "wrong"; the application has to do something to map the HDR color range to the LDR output (either by rescaling, clipping, or tone mapping).

    The GUI of the Mali Texture Compression Tool should be independent of the compressor; even if the on-screen view is incorrect, the compressed ASTC texture should still maintain the HDR range (assuming you picked an HDR compression mode). Are you losing the high-dynamic range in the compressed texture output when the ASTC texture is used by the GPU in OpenGL /OpenGL ES rendering?