3c74575dac
This PR addresses issue “USD export does not respect opacity threshold for clip alpha blend mode #107062” This commit extends the USD Preview Surface material support to author the opacityThreshold attribute of materials on export, when the Alpha Clip blend mode is selected. When authoring alpha cutouts in Blender, one sets the Blend Mode to "Alpha Clip", and the Clip Threshold to some value greater than zero. When this case is detected on export, we now author the opacityThreshold attribute to match the specified clip threshold. Note that opacityThreshold is already handled correctly on import, so this change allows the feature to be fully round-tripped. Co-authored-by: Matt McLin <mmclin@apple.com> Pull Request: https://projects.blender.org/blender/blender/pulls/107149 |
||
---|---|---|
.. | ||
blender_as_python_module | ||
gtests | ||
performance | ||
python | ||
CMakeLists.txt |