Page MenuHome

Fix T73938: Cycles Vertex Color wrong if no layer is specified
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Feb 19 2020, 9:57 AM.

Details

Summary

The node would render black in this case (but should use the
'active_render' layer choosen in the object data properties -- this is
now in line to how this is handled for e.g. UVs)

This introduces ATTR_STD_VCOL and uses this thoughout, if no particular
layer is specified in the node.

Diff Detail

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

Event Timeline

The general approach here seems fine. I don't think Cycles standalone needs updates for this. I'll wait for review until it's more complete.

intern/cycles/kernel/kernel_types.h
756

ATTR_STD_VCOL -> ATTR_STD_VERTEX_COLOR

  • ATTR_STD_VCOL -> ATTR_STD_VERTEX_COLOR
  • add OSL
Philipp Oeser (lichtwerk) marked an inline comment as done.
This revision is now accepted and ready to land.Feb 19 2020, 11:46 AM