Material node 'Color Attribute' does not find attribute if geometry nodes generate geometry other than Mesh #117536
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#117536
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 546.33
Blender Version
Broken: versions: 3.6.x and 4.0.x
Worked: none
Short description of error
When we add color attributes to the output of Geometry Nodes, we can access these attributes in the Shader Editor.
However, if the geometry generated for the object is something other than
Mesh
, theColor Attribute
node does not find these attributes and turns red (even though they exist).See the attached screencast video that shows the issue:
Exact steps for others to reproduce the error
Not that the
Color Attribute
node in the Shader Editor has a red input indicating that it is invalid.Thank you for the report. However, according to the manual:
Since the generated geometry is of type "Point Cloud" and not "Mesh", the behavior you have described seems to be expected.Not a bug AFAICS, closing.Feel free to comment if there is misunderstanding.EDIT: no warning is displayed.
ok, so how to use it if I do want to use the Points node and get it as Mesh?
can you guide me on how to handle this?
Analyzing better, the reason for this behavior is not exactly because the geometry is Point Cloud type. It's more because the UI does no find the specified attributes in the Mesh.
This already goes into issues that are outside my expertise.
Maybe this is something that hasn't been implemented for generated Point Clouds?
Cc. @JacquesLucke, @HooglyBoogly
This is a limitation of the various attribute selectors in many places. Currently the one in the color attribute node just looks in the active object's evaluated mesh. This might still work, but the button will show with a red alert. It's probably worth changing this attribute selector to be more of a "suggestion" like attribute name fields in geometry nodes where you can still type in any string you want. It's hard to get a complete view on all the attributes for the UI.
A workaround for now would be using the "Attribute" node instead of the "Color Attribute" node.
Output Attribute is not recognize while Geometry Nodes "Points" is usedto Material node 'Color Attribute' does not find attribute if geometry nodes generate geometry other than MeshIn that case, I think we can confirm the issue.
I'm not sure actually, AFAIK this is expected behavior. Not that it's good behavior, but "fixes" would be things like "Point Cloud: Add color attributes list" or "Nodes: Improve attribute selection to consider all evaluated geometry". Not exactly bug fixes.
Thank you.
Any chance it will be handled in the future?
It looks like it is an issue that needs to be addressed.