Fix T80684: Node shader wrapper: Tweak handling of alpha textures.
There is no ideal solution here, but we can assume by default that we should use the Alpha output from a texture used for transparency data. This will break people using a dedicated B&W texture for this alpha pass, but we cannot really handle all cases properly in this wrapper, we only try to support the most common ones to some extent.
This commit is contained in:
parent
1a4fc6dcd6
commit
0696eaa3e8
@ -486,6 +486,7 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
||||
return ShaderImageTextureWrapper(
|
||||
self, self.node_principled_bsdf,
|
||||
self.node_principled_bsdf.inputs["Alpha"],
|
||||
use_alpha=True,
|
||||
grid_row_diff=-1,
|
||||
colorspace_name='Non-Color',
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user