Skip to content

Also look for .dds file in dds/ prefix like Doom3 or Darkplaces

Thomas Debesse requested to merge illwieckz/netradiant:dds into master

This is required to load Xonotic DDS textures and compile maps against them.

The last remaining feature to check before removing the mapping support package is the in-pk3 symlink feature.

This also add some logging to help the user know which image file is loaded.

NetRadiant before:

Texture load failed: "textures/trak5x/base/base_pipe1e"

Q3map2 before:

WARNING: Couldn't find image for shader textures/trak5x/base-pipe1e

NetRadiant after:

Found image file: "dds/textures/trak5x/base/base_pipe1e.dds"
Loaded Texture: "textures/trak5x/base/base_pipe1e"

Q3map2 after:

Loaded image: "dds/textures/trak5x/base/base_pipe1e.dds"

Merge request reports