Maniphest T95974

Attribute nodes don't update in realtime on GPU rendering
Closed, Duplicate

Assigned To
None
Authored By
rickietee10@gmail.com (Rickietee10)
Feb 23 2022, 1:16 AM
Tags
  • BF Blender
Subscribers
Pratik Borhade (PratikPB2123)
rickietee10@gmail.com (Rickietee10)

Description

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

Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: rBf1cca3055776
Worked: (Blender 2.93)

Short description of error
The issue seems that the Attribute node set to object, with the attribute "scale" doesn't update in realtime on GPU. For example, using this node, vector math multiplied with a vector node set to object, locks the texture scale in place, so that when you scale objects, you always have the same scale texture (with more tiling). This is useful for making procedural materials.

The issue is that this doesn't work when on optix or cuda, but when using cpu it works as intended.

Exact steps for others to reproduce the error
Open the attached blender and scale the mesh with the render source set to CPU, you will see the texture has locked scale. Set it to gpu and you will see that it does not.

The node tree setup is in the left side of the window and it's just a texture coordinate node set to object, vector math multiplied with an attribute node set to object with the 'scale' attribute.

Event Timeline

rickietee10@gmail.com (Rickietee10) created this task.Feb 23 2022, 1:16 AM
Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).Feb 23 2022, 5:31 AM
Pratik Borhade (PratikPB2123) added a comment.Feb 23 2022, 5:40 AM

Same issue has been reported previously so I will merge into that- T93630: Regression: Attribute Node Object Attribute not updating in Cycles GPU Compute
Thanks for the report!