View Issue Details

IDProjectCategoryView StatusLast Update
0005275DarkRadiantShader Systempublic05.02.2021 11:29
Reporterorbweaver Assigned Toorbweaver  
Status closedResolutionfixed 
Product Version2.9.0 
Target Version2.9.0Fixed in Version2.9.0 
Summary0005275: DarkRadiant will not show DDS textures that are stored uncompressed (non-DXT)
DescriptionThe DDS format supports uncompressed images in ARGB8888 format. Although the DDS library supports and recognises this format, we have no handling of uncompressed images in the DDSImage class (which assumes every image can be sent directly to the GPU with glCompressedTexImage2D), resulting in such images appearing as Shader Not Found.

Examples of such uncompressed DDS textures can be found in the attached vertexcolors_break_shading test map.
TagsNo tags attached.




23.06.2020 19:51




15.07.2020 20:01

developer   ~0012655

Further research indicates that DDS supports a wide variety of uncompressed formats including RGB8 and RGBA8, and the problematic texture in vertexcolors_break_shading_2 is actually RGB8 (24 bits per pixel).


21.07.2020 19:43

developer   ~0012667

Support for uncompressed 8 bit RGB and RGBA DDS files implemented in f1ad0314a0a33c7d588ae6d23e2c410e4c20a6ae.

I'm not going to bother with the more obscure formats (A8, L8 etc) until/unless someone complains about it; using uncompressed DDS is rare enough as it is.


16.08.2020 07:50

reporter   ~0012735

Does it go with proper support of uncompressed DDS textures in game? I tested saving normalmaps as uncompressed DDS lately, and while there no console errors about that, the shading looks broken (normalmap is weaker, specular highlight is weirdly offset, etc.).

Issue History

Date Modified Username Field Change
23.06.2020 19:51 orbweaver New Issue
23.06.2020 19:51 orbweaver Status new => assigned
23.06.2020 19:51 orbweaver Assigned To => orbweaver
23.06.2020 19:51 orbweaver File Added:
15.07.2020 20:01 orbweaver Note Added: 0012655
21.07.2020 19:43 orbweaver Status assigned => resolved
21.07.2020 19:43 orbweaver Resolution open => fixed
21.07.2020 19:43 orbweaver Fixed in Version => 2.9.0
21.07.2020 19:43 orbweaver Note Added: 0012667
16.08.2020 07:50 Judith Note Added: 0012735
05.02.2021 11:29 greebo Status resolved => closed