Maximum number of attributes that can be used with eevee shading needs to be documented #108534

Closed
opened 2023-06-02 10:56:38 +02:00 by SouvikBiswas · 6 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 527.56

Blender Version
Broken: version: 3.6.0 Beta, branch: blender-v3.6-release, commit date: 2023-05-26 07:03, hash: e2a75814ac9f
Worked: This is the only version I have used

There are more than 20 parameters or attributes in my geometry nodes setup, and when I try to use those attributes in shader editor it doesn't update its values. Sometimes it updates when there is a viewer node connected.
[Please fill out a short description of the error here]

Its a big node tree and a lot of materials, so that's it.
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 527.56 **Blender Version** Broken: version: 3.6.0 Beta, branch: blender-v3.6-release, commit date: 2023-05-26 07:03, hash: `e2a75814ac9f` Worked: This is the only version I have used There are more than 20 parameters or attributes in my geometry nodes setup, and when I try to use those attributes in shader editor it doesn't update its values. Sometimes it updates when there is a viewer node connected. [Please fill out a short description of the error here] Its a big node tree and a lot of materials, so that's it. [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)]
SouvikBiswas added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-06-02 10:56:38 +02:00
Member

Hi @SouvikBiswas Please try give us the file that replicates the issue, thanks! Shader should always update when the attribute values change. Is it the render result not changing? Or the names in the shader editor? Or is it something else? Could you describe the step by step replication and the behaviour?

Hi @SouvikBiswas Please try give us the file that replicates the issue, thanks! Shader should always update when the attribute values change. Is it the render result not changing? Or the names in the shader editor? Or is it something else? Could you describe the step by step replication and the behaviour?
YimingWu added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-06-02 11:45:39 +02:00
Member

This is limited by this code I think:

/* Hardware limit is 16. Position attribute is always needed so we reduce to 15.
 * This makes sure the GPUVertexFormat name buffer does not overflow. */
#define GPU_MAX_ATTR 15

@fclem , @Jeroen-Bakker : Assume this can be closed? Or kept as Known Limitation? Should be mentioned in the manual? https://docs.blender.org/manual/en/3.6/render/shader_nodes/input/attribute.html

This is limited by this code I think: ``` /* Hardware limit is 16. Position attribute is always needed so we reduce to 15. * This makes sure the GPUVertexFormat name buffer does not overflow. */ #define GPU_MAX_ATTR 15 ``` @fclem , @Jeroen-Bakker : Assume this can be closed? Or kept as Known Limitation? Should be mentioned in the manual? https://docs.blender.org/manual/en/3.6/render/shader_nodes/input/attribute.html
Member

This isn't a limitation of geometry nodes. But of the render engine. Eevee in this case. Best that https://docs.blender.org/manual/en/3.6/render/eevee/limitations.html should be updated as it doesn't reflect the attribute limitation. So the title should be updated and the manual.

Cycles and other render engines might have other limitations. After updating the manual we can file this issue as known issue.

This isn't a limitation of geometry nodes. But of the render engine. Eevee in this case. Best that https://docs.blender.org/manual/en/3.6/render/eevee/limitations.html should be updated as it doesn't reflect the attribute limitation. So the title should be updated and the manual. Cycles and other render engines might have other limitations. After updating the manual we can file this issue as known issue.
Philipp Oeser changed title from Maximum number of attributes that can be used with geometry nodes and shader editor. to Maximum number of attributes that can be used with eevee shading 2023-06-02 14:35:38 +02:00
Philipp Oeser added
Status
Confirmed
Module
EEVEE & Viewport
and removed
Status
Needs Information from User
labels 2023-06-02 14:36:21 +02:00
Philipp Oeser changed title from Maximum number of attributes that can be used with eevee shading to Maximum number of attributes that can be used with eevee shading needs to be documented 2023-06-02 14:36:55 +02:00
Member

Hm, maybe this needs to be moved to https://projects.blender.org/blender/blender-manual then?

Hm, maybe this needs to be moved to https://projects.blender.org/blender/blender-manual then?
Author

Thank you all for the comments. I now understand that it is a problem with Eevee. Hopefully this changes later, but I don't know how that works. It works perfectly in cycles.
Thank you again

Thank you all for the comments. I now understand that it is a problem with Eevee. Hopefully this changes later, but I don't know how that works. It works perfectly in cycles. Thank you again
bassam kurdali added this to the EEVEE & Viewport project 2024-02-07 14:27:40 +01:00
Member
https://projects.blender.org/blender/blender-manual/commit/e651fcdaac2ef1b00a74f579b447ba9d924a7fdd
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-02-18 01:28:40 +01:00
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 Assignees
5 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#108534
No description provided.