blender/tests
Michael B Johnson 3c74575dac Fix #107062: support opacityThreshold when exporting USD
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
2023-05-01 17:28:23 +02:00
..
blender_as_python_module Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
gtests macOS/GTests: simplify blender_test library linking 2023-04-19 09:05:43 +05:30
performance Tests: Fix device list of benchmark script only showing a single GPU 2023-02-10 19:38:37 +01:00
python Fix #107062: support opacityThreshold when exporting USD 2023-05-01 17:28:23 +02:00
CMakeLists.txt CMake: add WITH_LIBS_PRECOMPILED option (UNIX only) 2023-01-19 17:10:42 +11:00