Page MenuHome

Fix T82336: Cycles standard attributes missing in displacement shaders
ClosedPublic

Authored by Kévin Dietrich (kevindietrich) on Aug 17 2021, 11:25 AM.

Details

Summary

Standard attributes are not added to the attributes requests when
shaders only have displacement. This is because nodes are only
considering the case when the surface socket is connected.

To support this, added Shader.has_surface_link() which checks for both
cases (has_surface and has_displacement) and replaces all checks on
Shader.has_surface.

Diff Detail

Repository
rB Blender
Branch
fix_T82336 (branched from master)
Build Status
Buildable 16462
Build 16462: arc lint + arc unit