Maniphest T93175

attributes passed out of geometry nodes aren't working in the shader editor.
Closed, Archived

Assigned To
None
Authored By
michael campbell (3di)
Nov 18 2021, 1:07 AM
Tags
  • BF Blender
  • Geometry Nodes
Subscribers
Jacques Lucke (JacquesLucke)
michael campbell (3di)

Description

System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-11-11 18:53, hash: rB0533f2851e7e
Worked: (newest version of Blender that worked as expected)

Open below file. The spreadsheet shows that the uv_map face corner attribute is correctly populated with data, and is being passed out to the group output socket. However when accessed via the shader editor, the data is not being read correctly (at all)

spreadhseet viewer column shows that the data is being generated and passed out correctly.

Event Timeline

michael campbell (3di) created this task.Nov 18 2021, 1:07 AM
michael campbell (3di) added a project: Geometry Nodes.
Jacques Lucke (JacquesLucke) closed this task as Archived.Nov 18 2021, 3:35 PM
Jacques Lucke (JacquesLucke) added a subscriber: Jacques Lucke (JacquesLucke).

Works fine when you use the Set Material node on the output geometry. This is unrelated to attributes. Even without attributes the material in the shader editor does not affect the viewport.
The cube you generated in the node tree does not have any material, that's why you have to set it. Alternatively, you could overwrite the material in the material settings, but better just use the Set Material node.