Page MenuHome

Vertex Color doesn't show up (in Eevee using the Vertex Color shader node or in workbench vertex shading mode)
Closed, ArchivedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.09

Blender Version
Broken: version: 3.0.1 Release Candidate, branch: master, commit date: 2022-01-12 07:17, hash: rBaafbd7464656
Worked: 2.93.7

The fail in Material Preview viewport shading mode as well as Eevee Rendered mode was caused by rB03013d19d167: Eevee: support accessing custom mesh attributes
The fail in Solid viewport shading Vertex mode (both object mode and editmode) is probably not considered a "fail", see T83891: Vertex Colors not displayed in object/edit/sculpt mode (if Sculpt Vertex Colors are enabled from Experimental)

Short description of error
If I create a simple shader using only vertex color input plugged in the surface output in 3.01 the result is black in Eevee., but works properly in 2.93.7

Exact steps for others to reproduce the error

  • open blender and enable Experimental > Sculpt Vertex Colors
  • open .blend
  • change Solid viewport shading mode to Vertex : no vertex colors
  • change to Material Preview viewport shading : black
  • change renderer to Eevee and go to rendered viewport : black

You can open this scene in both 2.93.7 and 3.01 and switch from Cycles to Eevee to see the difference

Thanks in advance ;)

Event Timeline

Cannot reproduce here

**System Information**
Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.34.9000 64 Bits
Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 495.44
version: 3.0.1 Release Candidate, branch: master, commit date: 2022-01-12 07:17, hash: `rBaafbd7464656`

Could this be related to the driver version 511.09?
If possible: could you check with an older version?

Can not reproduce either on 3.0.1(aafbd7464656)

Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: AMD Radeon(TM) 535 ATI Technologies Inc. 4.5.14831 Core Profile Context 21.5.2 27.20.21003.8013

If the vertex colors came from Geometry Nodes, this is a duplicate of T93179: Eevee Attribute Rendering Has Some Left Out Nodes Comparing with Cycles.

The other possibility I can think of is that Sculpt colors are turned on under Experimental features, but those don’t ship in release builds, right?

Thanks @Pratik Borhade (PratikPB2123) and @Evan Wilson (EAW) for investigation.
I have retired on another setup, Other CPU, GPU, OS and I got exactly the same result unfortunately :(

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: GeForce GTX 760/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71
Driver version : 320.49

I've also disable all the experimental features .

@Evan Wilson (EAW) : The vertex color don't come from Geometry Nodes, but directly from few brush strokes made in the Vertex Paint mode.

I've discover something else which I'm not sure is related to that, but Vertex color doesn't show up in Workbench when trying to show the data on 3.0, 3.01, but works fine in 2.93.7 or 3.1 alpha

I've discover something else which I'm not sure is related to that, but Vertex color doesn't show up in Workbench when trying to show the data on 3.0, 3.01, but works fine in 2.93.7 or 3.1 alpha

This is all fine for me in 3.0 and 3.0.1 release candidate as well...

Graphics card: GeForce GTX 760/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71
Driver version : 320.49

? is it 456.71 or 320.49?

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Information from User.Jan 20 2022, 12:57 PM

My bad, It was really confusing indeed.
I have tried with both versions. I've tried first with 456.71, Then I have downgraded to 320.49 as you have suggested

I think I have found where the issue come from.

I have reverted my preference to Factory Default and now it works correctly. I think I have enable the "use_sculpt_vertex_colors" in the experimental feature before and it stayed enabled in my userpref.

Now the option is not visible anymore in the Preference menu but you can still modify its value in Python with :

bpy.context.preferences.experimental.use_sculpt_vertex_colors = True

My issue is now solved but I still think something have to be done to avoid this.

What do you think @Philipp Oeser (lichtwerk) ?

Philipp Oeser (lichtwerk) changed the task status from Needs Information from User to Needs Triage.Jan 21 2022, 5:12 AM
Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Jan 21 2022, 9:29 AM

Ah, that again :/
Can confirm now.
This has had a long history (see T67437, T78225, T78369), will check when this broke yet again.

Philipp Oeser (lichtwerk) renamed this task from Vertex Color doesn't show up in Eevee using the Vertex Color shader node to Vertex Color doesn't show up (in Eevee using the Vertex Color shader node or in workbench vertex shading mode).Jan 21 2022, 9:35 AM
Philipp Oeser (lichtwerk) updated the task description. (Show Details)
Philipp Oeser (lichtwerk) triaged this task as High priority.Jan 21 2022, 10:38 AM

The fail in Material Preview viewport shading mode as well as Eevee Rendered mode was caused by rB03013d19d167: Eevee: support accessing custom mesh attributes
The fail in Solid viewport shading Vertex mode (both object mode and editmode) is probably not considered a "fail", see T83891: Vertex Colors not displayed in object/edit/sculpt mode (if Sculpt Vertex Colors are enabled from Experimental)

CC @Kévin Dietrich (kevindietrich) , will dare setting this to High prio, I know this is somewhat of a moving target, feel free to lower prio again.

Aaron Carlisle (Blendify) changed the subtype of this task from "Report" to "Bug".Jan 21 2022, 10:39 PM

Marking with 3.2 since this relies on an experimental feature and so is not blocking for 3.1.

Closing this as it appears that this was also fixed by rBa1d3521247463cb10954218e794144c25ca5aa5e. At least I cannot reproduce any of the misbehavior.