MetalRT: Instancing objects lead to rendering errors (shading errors) #120848
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#120848
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: macOS-14.4.1-arm64-arm-64bit 64 Bits
Graphics card: Metal API Apple M3 Max 1.2
Blender Version
Broken: version: 4.1.1, branch: blender-v4.1-release, commit date: 2024-04-15 15:11, hash:
e1743a0317bc
Worked: ---
Short description of error
Objects that are integrated in addition to the Geonode objects are not rendered correctly with Cycles. They are displayed almost completely black in steps. In EEVEE it works correctly. I have not found out which node is responsible for this. I deleted one node after the other but the result remained the same. I can render other examples correctly. So the problem does not occur in general. A simplified test file is enclosed.
Exact steps for others to reproduce the error
Start render in Cycles and the result is not correct. Hide the collection with the Geonodes objects and the render is correct.
It seems like you used a custom font to create letters. I do not have this font, so the letters do not appear. If I replace the font with the default Blender font and rendered the scene, then I can confirm the issue if I'm using Metal-RT on a Apple GPU (M1 Pro). If I turn off MetalRT, or use a different device (E.G. CPU), then I do not have the issue.
Turning off Motion Blur also fixed the issue. Which makes me believe it's the same issue as #117581
@Michael-Jones can you confirm whether or not these are the same issue?
I have attached a simplified file that can reproduce the issue. Simplified 120848.blend
The main aspects I can identify contributing to the issue are:
@Sascha-Bucher, if you would like to render this scene in the meantime without these issues, you have a few options:
Edit -> Preferences
System
Cycles render device
, changeMetalRT
toOff
Apple M3 Max: Incorrect render result in connection with geonodesto MetalRT: Some objects are missing from some scenes with instancingI can confirm that each of this adjustments does solve the problem:
But I don't think the scaling of the objects is causing the problem. I have set the scaling factor to 1 for the normal objects and also no longer scaled the instances in the Geonodes. Nevertheless, the error is still there.
I also had a look the mentioned ticket #117581 @Michael-Jones and rendered the test file. The object "Pillow_3_Plane.002" does not disappear with my normal render settings (motion blur activated, cycles with metal...). Perhaps the problem no longer exists in 4.1.1. So it doesn't look like the same problem to me.
The new title of the ticket is somewhat misleading. The objects are all there, they are just rendered very unrecognizable.
I'm sorry, I renamed it based on what I observed (missing objects), and what I could understand from your report. If you believe it's misleading, feel free to update it.
I am still able to confirm this issue in Blender 4.2
In my experience, there is some level of randomness with both this issue and yours. Sometimes objects disappear, sometimes they're distorted, sometime only the bounding box is rendered.
Geometry nodes is not related here, new titel is more correct.
Okay, if the problem also occurs with instancing without Geonodes, I understand the hint. I haven't noticed this yet. But no objects disappear. They are all there, only the rendering (light tracing/shading) seems to be totally off. I have placed the original blue and red cubes next to each other on the simplified example file above and after 3 samples all cubes are still visible until the scene gets darker and darker. Test render enclosed.
MetalRT: Some objects are missing from some scenes with instancingto MetalRT: Instancing objects lead to rendering errors (shading errors)@Alaska, we will be doing a QA pass over motion blur with MetalRT as it seems there are various issues including this one, #117581, and a couple of others that we've discovered internally.