Maniphest T60530

3Dc (ATI2 / DXN BC5) DDS normal maps not loading or rendering correctly
Closed, Archived

Assigned To
Brecht Van Lommel (brecht)
Authored By
Ananda Neelam Thathayya (AnandaT)
Jan 15 2019, 1:44 PM
Tags
  • BF Blender
Subscribers
Ananda Neelam Thathayya (AnandaT)
Brecht Van Lommel (brecht)

Description

System Information
Operating system: Windows 10 1809
Graphics card: GTX 1070

Blender Version
Broken: 2.80, 80ffa73b3f87, blender2.8, 2019-01-10, as found on the splash screen

Short description of error
Normal maps in DDS files with this compression method do not get loaded or rendered correctly.

Exact steps for others to reproduce the error
Download attached ZIP.
In the scene there are 3 cubes with the same normal map, but exported in different ways (PNG, DDS BC3 and DDS BC5).
You will notice that the last one is not loaded correctly or at all.

The DDS were exported from Photoshop using the Intel Texture Tools plugin.
The plugin states that this compression method only uses the first two channels, and is optimized for normal maps (in-game in fact this method reduces the compression artifacts while maintaining a good file size)

Event Timeline

Ananda Neelam Thathayya (AnandaT) created this task.Jan 15 2019, 1:44 PM
Brecht Van Lommel (brecht) changed the task status from Unknown Status to Unknown Status.Jan 15 2019, 3:32 PM
Brecht Van Lommel (brecht) claimed this task.
Brecht Van Lommel (brecht) added a subscriber: Brecht Van Lommel (brecht).

I'm afraid our DDS image loading code only supports up to BC3. Newer compression schemes are not implemented.

Certainly it would be good to support them, but it's outside the scope of a bug report.

Ananda Neelam Thathayya (AnandaT) added a comment.Jan 15 2019, 3:37 PM

Makes sense, thanks for checking :)

Aras Pranckevicius (aras_p) mentioned this in T101405: DDS image format improvements.Sep 27 2022, 3:02 PM