bdk-blender/source/blender/io
Michael Kowalski f2d15d4fd1 Fix: USD: Wrong UsdUVTexture rgb output type.
This fixes a bug where the rgb UsdUVTexture shader output
attributes were created with incorrect type color3f when
connected to UsdPreviewSurface diffuseColor and emissiveColor
inputs. The UsdPreviewSurface specification requires the
UsdUVTexture rgb output to be of type float3.

This was happening because the UsdUVTexture outputs were created
implicitly by the call to UsdShadeInput::ConnectToSource().  I.e.,
because the diffuseColor and emissiveColor inputs are of type
color3f, this was the type assigned by default to the rgb source
attributes as well.

Now explicitly creating the UsdUVTexture shader output attributes
with the correct types.

Pull Request: blender/blender#114728
2023-11-13 12:44:21 +01:00
..
alembic Revert changes from main commits that were merged into blender-v4.0-release 2023-10-30 21:40:35 +01:00
avi Cleanup: use const arguments & variables 2023-09-19 11:09:20 +10:00
collada Revert changes from main commits that were merged into blender-v4.0-release 2023-10-30 21:40:35 +01:00
common Cleanup: Move BKE_object.hh to C++ 2023-10-09 23:41:53 +02:00
gpencil Revert changes from main commits that were merged into blender-v4.0-release 2023-10-30 21:40:35 +01:00
ply Cleanup: Move BKE_object.hh to C++ 2023-10-09 23:41:53 +02:00
stl Revert changes from main commits that were merged into blender-v4.0-release 2023-10-30 21:40:35 +01:00
usd Fix: USD: Wrong UsdUVTexture rgb output type. 2023-11-13 12:44:21 +01:00
wavefront_obj Fix #114304: OBJ import crash when some faces have normals, and others do not 2023-11-03 09:45:32 +01:00
CMakeLists.txt License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00