Page MenuHome

Attribute names can clash (e.g. Sculpt Vertex colors and Vertex Colors) leading to confusion using the Attribute shading node
Closed, InvalidPublicDESIGN

Description

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-23 19:18, hash: rB65006bfaf4ef
Worked: (newest version of Blender that worked as expected)

Short description of error

Attribute names can clash (e.g. Sculpt Vertex colors and Vertex Colors) leading to confusion using the Attribute shading node.

Original report:

Vertex colors, painted via sculpt, become black in shader

Reason 1 — changing mode in the different layout

reason 2 — changing name back and forth

File for tests

Event Timeline

Okay, I found, that there is conflict between 2 attributes with same name Col (regular and sculpt vertex colors)
But they look different when I use em in shader.

So this turns into a mixed bag of issues:

  • [1] muliple layers can have the same name (this is not only true for colors, you could for example name your Vertex Color layer "UVMap" -- this will also conflict with an existing UVMap called the same)
  • [2] color issue [apparently Sculpt Vertex Colors dont store in scene linear space - or Vertex Colors dont, havent checked], this is also mentioned in T78201: sculpt vertex color painting wrong saturation and value

So I suggest to

Note that in T76659: Geometry Attributes Design, the name should already be unique (not sure how we will handle old files once all attributes are actually handled as attributes?)

Philipp Oeser (lichtwerk) renamed this task from Vertex colors, painted via sculpt, become black in shader to Attribute names can clash (e.g. Sculpt Vertex colors and Vertex Colors) leading to confusion using the Attribute shading node.Jun 24 2020, 1:52 PM
Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.
Philipp Oeser (lichtwerk) updated the task description. (Show Details)
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Design".
Brecht Van Lommel (brecht) claimed this task.

The design task for this is T76659: Geometry Attributes Design, we don't need a dedicated one for the naming issue at this point.