Unable to use EEVEE-Next displacement for instantiated object having material with instancer/object attribute #118657

Closed
opened 2024-02-23 12:14:54 +01:00 by Kate White · 2 comments

System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 461.40

Blender Version
Broken: version: 4.1.0 Alpha, branch: main, commit date: 2024-02-07 00:25, hash: ea7c0a4a46a8

Short description of error
When using Instancer/Object type Attribute node in material with Displacement/Vector Displacement in EEVEE-Next shading has artifacts and no displacement.

Exact steps for others to reproduce the error
Prerequisites:

  1. Object is instantiated via GN (or instancing).
  2. Object has material with displacement (or vector displacement) and material displacement method is set to Displacement and Bump.
  3. EEVEE-Next is used as render engine.
  4. Viewport shading is set to Rendered.

Steps:

  1. Add Attribute node to material
  2. Set attribute type to Instancer (or Object)
  3. Link Attribute node to Material Output node (or other shader tree node)

Expected result: Object is displaced and shaded properly.

Actual result: Object has shading artifacts with no displacement.

**System Information** Operating system: Windows-10-10.0.19042-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 461.40 **Blender Version** Broken: version: 4.1.0 Alpha, branch: main, commit date: 2024-02-07 00:25, hash: `ea7c0a4a46a8` **Short description of error** When using Instancer/Object type Attribute node in material with Displacement/Vector Displacement in EEVEE-Next shading has artifacts and no displacement. **Exact steps for others to reproduce the error** Prerequisites: 1. Object is instantiated via GN (or instancing). 2. Object has material with displacement (or vector displacement) and material displacement method is set to Displacement and Bump. 3. EEVEE-Next is used as render engine. 4. Viewport shading is set to Rendered. Steps: 1. Add Attribute node to material 2. Set attribute type to Instancer (or Object) 3. Link Attribute node to Material Output node (or other shader tree node) Expected result: Object is displaced and shaded properly. Actual result: Object has shading artifacts with no displacement.
Kate White added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2024-02-23 12:14:54 +01:00
Iliya Katushenock added the
Interest
EEVEE & Viewport
label 2024-02-24 12:55:41 +01:00
ERROR (gpu.shader): GPU_material_compile FragShader:
      |
 4768 |   uint index = floatBitsToUint(ObjectAttributeStart);
      |
      | eevee_nodetree_lib.glsl:747:0: Error: C1503: undefined variable "resource_id"
      |
 4769 |   for (uint i = 0; i < floatBitsToUint(ObjectAttributeLen); i++, index++) {
      |
      | eevee_nodetree_lib.glsl:748:0: Error: C1503: undefined variable "resource_id"
``` ERROR (gpu.shader): GPU_material_compile FragShader: | 4768 | uint index = floatBitsToUint(ObjectAttributeStart); | | eevee_nodetree_lib.glsl:747:0: Error: C1503: undefined variable "resource_id" | 4769 | for (uint i = 0; i < floatBitsToUint(ObjectAttributeLen); i++, index++) { | | eevee_nodetree_lib.glsl:748:0: Error: C1503: undefined variable "resource_id" ```
Miguel Pozo added the
Interest
EEVEE
label 2024-03-08 17:41:14 +01:00

Duplicate of #117277 . Can't reproduce anymore after fixing the other issue.

Duplicate of #117277 . Can't reproduce anymore after fixing the other issue.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-04-24 11:42:39 +02: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 project
No Assignees
3 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#118657
No description provided.