mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-21 20:10:05 +00:00
Updated ComputeNormalMap (markdown)
parent
d17dc7abb0
commit
81d91ab2e1
@ -21,7 +21,8 @@ HRESULT ComputeNormalMap(
|
|||||||
_flags_: a combination of the following flags
|
_flags_: a combination of the following flags
|
||||||
* ``CNMAP_DEFAULT`` Default 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_RED``
|
||||||
* ``CNMAP_CHANNEL_GREEN``
|
* ``CNMAP_CHANNEL_GREEN``
|
||||||
* ``CNMAP_CHANNEL_BLUE``
|
* ``CNMAP_CHANNEL_BLUE``
|
||||||
|
Loading…
Reference in New Issue
Block a user