Cycles: Attribute node renders black when some reserved standard attribute names are used #87494
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
10 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#87494
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.19041-SP0 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.14760 Core Profile Context 20.45.37.01 27.20.14537.1001
Blender Version
Broken: 2.79 - 2.93.0 Alpha, branch: master, commit date: 2021-04-14 02:19, hash:
6776b74d0a
Worked: Never?
Short description of error
In Cycles, the Attribute node returns black when an attribute name is reserved (such as "color" or "temperature").
The attribute can be created from the attribute panel or through Geometry Nodes.
Seems like any these attribute names could cause the issue:
https://projects.blender.org/blender/blender/src/branch/main/intern/cycles/scene/attribute.cpp#L320-L392
Exact steps for others to reproduce the error
Now the node attribute works
vcol_cycles_name_bug.blend
temperature_attribute_shader_handling.blend
Added subscriber: @mano-wii
#101880 was marked as duplicate of this issue
#101037 was marked as duplicate of this issue
#100193 was marked as duplicate of this issue
#99582 was marked as duplicate of this issue
#93531 was marked as duplicate of this issue
#95168 was marked as duplicate of this issue
#94988 was marked as duplicate of this issue
#92116 was marked as duplicate of this issue
#87373 was marked as duplicate of this issue
Changed status from 'Needs Triage' to: 'Confirmed'
Apparently this is related to built-in attributes as seen in https://blender.stackexchange.com/questions/14262/what-can-you-call-from-the-attribute-node#14267
Added subscribers: @slowburn, @CharlieJolly
I just wanted to clarify that this is not limited to vertex colors. Thanks to a recently added feature, custom attributes created in geometry nodes can be used directly in Cycles without the need for vertex colors: https://developer.blender.org/rB3a6d6299d
Maybe the fix will apply to GN as well, but I think it would be good if you could modify the name or description of this task to indicate that it also affects geometry nodes, since you closed my task.
Added subscribers: @barakooda, @EAW
Added subscribers: @1029910278, @HooglyBoogly
Added subscribers: @MysteryPancake, @kevindietrich, @lichtwerk
Attribute node does not work in Cycles when referencing a Vertex Color named "color"to Attribute node does not work in Cycles (renders black) when some reserved standard attribute names (such as "color") are usedAdded subscribers: @OrestisKonstantinidis, @null
Added subscriber: @shadow_creeper
Removed subscriber: @MysteryPancake
Added subscriber: @OmarEmaraDev
Added subscriber: @Matthias-Schafer
Added subscriber: @SteffenD
Added subscriber: @dupoxy
still true it seems ... I was about to fill a new bug report using this file: reT87494.blend
Attribute node does not work in Cycles (renders black) when some reserved standard attribute names (such as "color") are usedto Cycles: Attribute node renders black when some reserved standard attribute names are usedThis is also valid for "temperature" attribute (I've included those changes in title/description).
ada738ac7c
has fixed the EEVEE part of it but cycles still renders black output.