View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005275||DarkRadiant||Shader System||public||23.06.2020 19:51||16.08.2020 07:50|
|Target Version||2.8.1||Fixed in Version||2.8.1|
|Summary||0005275: DarkRadiant will not show DDS textures that are stored uncompressed (non-DXT)|
|Description||The 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.
|Tags||No tags attached.|
vertexcolors_break_shading_2.zip (666,744 bytes)
|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).|
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.
|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.).|
|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: vertexcolors_break_shading_2.zip|
|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.8.1|
|21.07.2020 19:43||orbweaver||Note Added: 0012667|
|16.08.2020 07:50||Judith||Note Added: 0012735|