Games for Windows and the DirectX SDK blog

Technical tips, tricks, and news about game development for Microsoft platforms including desktop, Xbox One, and UWP

Project maintained by walbourn Hosted on GitHub Pages — Theme by mattgraham
Home | Posts by Tag | Posts by Month

Known Issue - TexconvEx

dds, dxsdk

Originally posted to Chuck Walbourn's Blog on MSDN,

Doing some work on the texconvex tool (the Direct3D 10.x/11 version of the Texture Conversion Tool texconv), I discovered that my use of the NULL render device resulted in garbage output from this tool in some scenarios. This is easily remedied using the WARP or REFERENCE device.

Since this is just a simple shell around D3DX functionality, the source code is fairly trivial. Here is the source to the current tool as shipped in the DirectX SDK (June 2010) with the above fix, as well as support for the Windows Media Photo / HD Photo format (i.e. D3DX11_IFF_WMP). As the primary high-dynamic range image format supported by D3DX, it is an important format to support particularly when generating BC6H compressed images.

Update: It is recommended you make use of the DirectXTex version of texconv instead of either version using the legacy D3DX library.