Updated Texconv (markdown)

Chuck Walbourn 2022-10-27 14:07:30 -07:00
Родитель 9a5837811d
Коммит 034bd5e95a
1 изменённых файлов: 5 добавлений и 1 удалений

@ -167,7 +167,7 @@ The file-name parameter indicates the file(s) to convert using ``dds``, ``tga``,
**-nits _number_**: Provides a paper-white nits value for the HDR10 conversions above (defaults to 200.0) with an upper limit of 10000.
**-tonemap**: Applies [tonemap operator](http://www.cs.utah.edu/~reinhard/cdrom/) based on maximum luminosity to ensure HDR image data is adjusted to an LDR range.
**-tonemap**: Applies a *Reinhard tonemap operator* based on maximum luminosity to ensure HDR image data is adjusted to an LDR range.
**-x2bias**: Enables special ``*2 -1`` conversion cases for converting unorm <-> float, and positive-only-floats <-> float/snorm. These are typically used with normal maps.
@ -221,3 +221,7 @@ When loading ``BMP`` files, if the WIC codec fails to load the image, the _texco
Support for [OpenEXR](http://www.openexr.com/) (``EXR``) can be added to the *texconv* utility. Uncomment ``#define USE_OPENEXR`` in the source, and add the DirectXTex auxiliary module to the project. See [[Adding OpenEXR]] for more details including building the OpenEXR library. This adds ``exr`` as an option for ``-ft``.
The texconv tool supports any additional installed WIC codec. For example, if you install the [HEIF WIC Codec](https://aka.ms/heif), the tool can successfully read ``.HEIF`` or ``.HEIC`` images. This WIC codec does not support writing these files formats, so texconv cannot output them.
# Further reading
Reinhard et al., "Photographic tone reproduction for digital images", *ACM Transactions on Graphics*, Volume 21, Issue 3 (July 2002). [ACM DL](https://dl.acm.org/doi/10.1145/566654.566575).