1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-21 20:10:05 +00:00

Updated ComputeNormalMap (markdown)

Chuck Walbourn 2022-04-05 12:31:20 -07:00
parent d17dc7abb0
commit 81d91ab2e1

@ -21,7 +21,8 @@ HRESULT ComputeNormalMap(
_flags_: a combination of the following flags
* ``CNMAP_DEFAULT`` Default flags
Selects which channel to use as the height. Luminance is monochrome value computed from R, G, and B.
Selects which channel to use as the height. Luminance is a monochrome value computed from R, G, and B using classic scaling (``R*0.2125 + G*0.7154 + B*0.0721``).
* ``CNMAP_CHANNEL_RED``
* ``CNMAP_CHANNEL_GREEN``
* ``CNMAP_CHANNEL_BLUE``