powervr-graphics / Native_SDK

C++ cross-platform 3D graphics SDK. Includes demos & helper code (resource loading etc.) to speed up development of Vulkan, OpenGL ES 2.0 & 3.x applications
https://docs.imgtec.com/sdk-documentation/html/introduction.html
MIT License
702 stars 197 forks source link

[BUG] PVRTexTool 5.1.0 does not display DDS Luminace Texture #68

Open ParticlePeter opened 3 years ago

ParticlePeter commented 3 years ago

Description

Luminace DDS Textures stored from Photoshop or DxTex (DirectX Texture Tool) are properly displayed in each of these tools, but not in PVRTexTool. I am not sure about the proper range setting, but according to my understanding it should definitely be linear space and either from 0-255 or 0-1 (norm). I tried all the settings, but the displayed image stays black.

Luminance Tex in PVRTexTool vs DxTex

Repro steps

I've attached the zipped test texture, as DDS can't be uploaded.

Environment

lilly-lizard commented 3 years ago

Thanks for reporting this ParticlePeter.

You mention a zip of your test texture but it doesn't seem to be attached to this issue. Could you upload that to assist with the debugging?

ParticlePeter commented 3 years ago

Sorry about that. unit_decal_texture_0.zip

AlejandroCosin commented 3 years ago

Hi ParticlePeter,

We reported this issue to the Tools Team. They will work on fixing it, we'll notify you once it is fixed.

Best regards, Alejandro

AlejandroCosin commented 3 years ago

Hi ParticlePeter,

The Tools Team fixed this issue internally and wil be available in the next release of the PVR SDK.

If you're in a rush, we can provide you an Engineering Drop with the internal version, you can request it through our support portal (https://pvrsupport.imgtec.com).

Best regards, Alejandro