A vertex color attribute set in geometry nodes doesn't show in the viewport #118126

Closed
opened 2024-02-12 09:27:46 +01:00 by VictorC · 9 comments

System Information
Operating system: Windows 10 22H2
Graphics card: GTX 1060

Blender Version
Broken: 3.6.8, 4.0.2
Worked: 3.3.15

A color attribute (Byte Color on Face Corner) set in geometry node doesn't show in the viewport. It is black.
The values are showing in the spreadsheet thought.

  1. Create a Geometry Node storing a Byte Color attribute on Face Corner on a Cube primitive (see image)
  2. Set the Viewport Shading Color to Attribute
  3. The cube is always black
**System Information** Operating system: Windows 10 22H2 Graphics card: GTX 1060 **Blender Version** Broken: 3.6.8, 4.0.2 Worked: 3.3.15 A color attribute (Byte Color on Face Corner) set in geometry node doesn't show in the viewport. It is black. The values are showing in the spreadsheet thought. 1. Create a Geometry Node storing a Byte Color attribute on Face Corner on a Cube primitive (see image) 2. Set the Viewport Shading Color to **Attribute** 3. The cube is always black
VictorC added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2024-02-12 09:27:47 +01:00

I can't confirm, however this issue has been reported before, see #106563. Will merge reports. Please subscribe in #106563 if you want to see further updates.

I can't confirm, however this issue has been reported before, see #106563. Will merge reports. Please subscribe in #106563 if you want to see further updates.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2024-02-12 09:32:25 +01:00
Member

Does "Attribute" show up in the Color Attributes list?
Does it work when you create the attribute first (and only then store the color from the geonodes tree)?

Seems to work fine then:

image

Does "Attribute" show up in the Color Attributes list? Does it work when you create the attribute first (and only then store the color from the geonodes tree)? Seems to work fine then: ![image](/attachments/5f953e84-de8c-42da-871a-18e32b0b7677)
204 KiB
Member

@mod_moder : this report was not about instancing, so I dont really think this is a duplicate of #106563

@mod_moder : this report was not about instancing, so I dont really think this is a duplicate of #106563
Blender Bot added
Status
Needs Triage
and removed
Status
Duplicate
labels 2024-02-12 09:37:47 +01:00
Philipp Oeser added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-02-12 09:37:58 +01:00

@lichtwerk This is issue about creating new attribute. In your casem you just rewrite original one. Try to create Cube Primitive node. Name of duplicate is not really clear though...

@lichtwerk This is issue about creating new attribute. In your casem you just rewrite original one. Try to create `Cube Primitive` node. Name of _duplicate_ is not really clear though...
Author

Does "Attribute" show up in the Color Attributes list?

No, because I'm creating the geometry from scratch. But I've tried that, it doesn't work. As well as setting Color outputs from as I've seen mentioned here: https://blender.stackexchange.com/questions/245691/geometry-nodes-output-to-vertex-color

Does it work when you create the attribute first (and only then store the color from the geonodes tree)?

Yes it does, but not if I create the geometry in GN, which is the point

> Does "Attribute" show up in the Color Attributes list? No, because I'm creating the geometry from scratch. But I've tried that, it doesn't work. As well as setting Color outputs from as I've seen mentioned here: https://blender.stackexchange.com/questions/245691/geometry-nodes-output-to-vertex-color > Does it work when you create the attribute first (and only then store the color from the geonodes tree)? Yes it does, but not if I create the geometry in GN, which is the point
Author

I've tried something (in 3.6):
If I apply the GN Modifier (which is not what I want to do), then I switch to Object Data Properties, the Color Attribute is showing, but it is still black in the viewport. If I then click on this Color Attribute, the color appears in the viewport.

I've tried something (in 3.6): If I apply the GN Modifier (which is not what I want to do), then I switch to Object Data Properties, the Color Attribute is showing, but it is still black in the viewport. If I then **click** on this Color Attribute, the color appears in the viewport.
Philipp Oeser added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2024-02-12 10:05:55 +01:00
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2024-02-12 10:12:08 +01:00
Iliya Katushenock added
Status
Duplicate
and removed
Status
Archived
labels 2024-02-12 10:12:14 +01:00
Member

The attribute has to active (e.g. clicked on in the list) for the workbench to show up.

Colors set via the Store Named Attribute Node are never really active, so...
https://docs.blender.org/manual/en/4.0/render/workbench/color.html

See related discussion in #114657
There is also #117249 which at least makes it the default color, but that does not really help for the workbench...

I dont really think this is a bug, just a workflow issue (that is unlikely to be changed -- @HooglyBoogly correct me if I am wrong).
As an alternative, I thought of using a Viewer node -- but I just realized that this does not really output colors? just values?

image

The attribute has to **active** (e.g. clicked on in the list) for the workbench to show up. Colors set via the Store Named Attribute Node are never really active, so... https://docs.blender.org/manual/en/4.0/render/workbench/color.html See related discussion in #114657 There is also https://projects.blender.org/blender/blender/pulls/117249 which at least makes it the default color, but that does not really help for the workbench... I dont really think this is a bug, just a workflow issue (that is unlikely to be changed -- @HooglyBoogly correct me if I am wrong). As an alternative, I thought of using a Viewer node -- but I just realized that this does not really output colors? just values? ![image](/attachments/b063b4f8-35e8-4357-bb6c-a9fd7fb1f7b7)
151 KiB
Member

but I just realized that this does not really output colors? just values?

correction, this seems to be fixed now

>but I just realized that this does not really output colors? just values? correction, this seems to be fixed now
Author

The attribute has to active (e.g. clicked on in the list) for the workbench to show up.

Thank you for your investigation. I though it may have been related.

I don't understand all the dev talks, but I think we can expect the workbench to show the color attribute set by GN, as it's should be unified behavior IMO. For now, too bad I'm stuck with 3.3 for this workflow.

> The attribute has to **active** (e.g. clicked on in the list) for the workbench to show up. Thank you for your investigation. I though it may have been related. I don't understand all the dev talks, but I think we can expect the workbench to show the color attribute set by GN, as it's should be unified behavior IMO. For now, too bad I'm stuck with 3.3 for this workflow.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#118126
No description provided.