PVRTexTool and DDS half float cubemaps

Tagged: 

This topic contains 5 replies, has 2 voices, and was last updated by  Joe Davis 1 year, 4 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #53758

    Timo
    Member

    I have tried to examine DDS files that contain half float cubemaps with PVRTexTool. It appears that half float DDS cubemaps are not supported correctly. Can you comment on this?

    #53764

    Joe Davis
    Member

    Hi Timo,

    Skimming through the code, it’s tricky to tell if this configuration is supported. Can you share a file with us to reproduce the issue?

    #53765

    Timo
    Member

    Attached test image which loads fine in Compressonator for example.

    Attachments:
    You must be logged in to view attached files.
    #53768

    Joe Davis
    Member

    Thanks Timo. I’ve reproduced (what I suspect are) artefacts in the surface render. For reference, can you also share a version of this image that renders correctly in PVRTexToolGUI?

    #53769

    Timo
    Member

    No, it seems that 32bit float version of the image also is not shown correctly in PVRTexToolGUI. It seems that HDR images color values are somehow wrapped around.

    I have also noticed that PVRTexToolGUI shows top and bottom cubemap faces unexpectedly swapped even in LDR cubemaps (at least when they are loaded from DDS). Either that, OR sides are rendered or uploaded to GL in wrong way up.

    #53789

    Joe Davis
    Member

    Hi Timo,

    I’ve added BRN59728 to our tracker for the half-float/float preview issue. I’ve also added a note that the cubemap order/orientation needs to be checked.

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.