HIP-RT transparent shadows rendering artifacts #117527

Open
opened 2024-01-26 01:44:32 +01:00 by Alaska · 8 comments
Member

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: AMD Radeon RX 7800 XT ATI Technologies Inc. 4.6.0 Core Profile Context 24.1.1.240110

Blender Version
Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: 9be62e85b727
Worked: NA

Short description of error
When using HIP-RT, the shadows of objects that make use of a transparent BSDF will render with artifacts. And these artifacts can appear and disappear based on the number of faces the object has and how large the object is, as demonstrated in the video below:

HIP HIP-RT
HIP.jpg HIP-RT.jpg

Exact steps for others to reproduce the error

  1. Open the attached .blend file.
  2. Render it on a AMD GPU with HIP-RT.
  3. Compare it to other options (E.G. HIP, CPU rendering, other rendering backends on other GPUs, etc)
**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: AMD Radeon RX 7800 XT ATI Technologies Inc. 4.6.0 Core Profile Context 24.1.1.240110 **Blender Version** Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: `9be62e85b727` Worked: NA **Short description of error** When using HIP-RT, the shadows of objects that make use of a transparent BSDF will render with artifacts. And these artifacts can appear and disappear based on the number of faces the object has and how large the object is, as demonstrated in the video below: |HIP|HIP-RT| |-|-| |![HIP.jpg](/attachments/f5797880-5b02-46a0-a9ca-dc967d86d9f0)|![HIP-RT.jpg](/attachments/02711d06-a6f8-4e6d-81d7-b57bae15967f)| <video src="/attachments/aeea02b0-2ed8-4505-b5a6-8122234d6b9e" title="HIP-RT Transparency Artifacts Demonstration Video.mp4" controls></video> **Exact steps for others to reproduce the error** 1. Open the attached .blend file. 2. Render it on a AMD GPU with HIP-RT. 3. Compare it to other options (E.G. HIP, CPU rendering, other rendering backends on other GPUs, etc)
Alaska added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2024-01-26 01:44:33 +01:00
Alaska changed title from HIP-RT transparent rendering artifacts to HIP-RT transparent shadows rendering artifacts 2024-01-27 04:57:07 +01:00
Member

@Jeroen-Bakker @brecht : are you able to verify this?

@Jeroen-Bakker @brecht : are you able to verify this?
Philipp Oeser added the
Interest
Render & Cycles
label 2024-03-27 11:22:45 +01:00

@salipour can you check this?

@salipour can you check this?
Member

This has to do with our AS spatial splitting. Hopefully, we'll have a fix by the next release. A workaround for now could be disabling spatial split (but I don't really recommend it). The other workaround could be disabling spatial splitting only for transparent objects, but I am not sure about performance implications without trying various scenes. Is it a common issue with regular scenes?

This has to do with our AS spatial splitting. Hopefully, we'll have a fix by the next release. A workaround for now could be disabling spatial split (but I don't really recommend it). The other workaround could be disabling spatial splitting only for transparent objects, but I am not sure about performance implications without trying various scenes. Is it a common issue with regular scenes?
Author
Member

Is it a common issue with regular scenes?

In architectural rendering, I would say yes, this is a semi-common issue. This is because the issue is present in the shadow of glass windows that makes use of the architectural glass shader setup below. As for other scenes, I think this issue is significantly less common.

As you've probably already noticed, setting the transparent BSDF colour to 1,1,1 white makes it fully transparent and there are no visible artefacts. So in most scenes that do make use of transparency in a "normal way" (E.G. Scenes with vegetation where the leaves are cards with alpha masks), this is a non-issue.

Screenshot 2024-03-29 at 13.10.27.png

> Is it a common issue with regular scenes? In architectural rendering, I would say yes, this is a semi-common issue. This is because the issue is present in the shadow of glass windows that makes use of the architectural glass shader setup below. As for other scenes, I think this issue is significantly less common. As you've probably already noticed, setting the transparent BSDF colour to 1,1,1 white makes it fully transparent and there are no visible artefacts. So in most scenes that do make use of transparency in a "normal way" (E.G. Scenes with vegetation where the leaves are cards with alpha masks), this is a non-issue. ![Screenshot 2024-03-29 at 13.10.27.png](/attachments/9cb0e3ec-866b-45f3-b46b-6e83e5842ff5)
Alaska added
Status
Confirmed
and removed
Status
Needs Triage
labels 2024-03-29 02:01:08 +01:00
Author
Member

Hopefully, we'll have a fix by the next release.

Just confirming, the next release of the HIP-RT SDK?
If the fix is in HIP-RT, is there a time frame for when the next version of the HIP-RT SDK is expected to release.

> Hopefully, we'll have a fix by the next release. Just confirming, the next release of the HIP-RT SDK? If the fix is in HIP-RT, is there a time frame for when the next version of the HIP-RT SDK is expected to release.
Member

I meant the next release of HIP-RT SDK and I expect that to happen before the next release of Blender.

I meant the next release of HIP-RT SDK and I expect that to happen before the next release of Blender.
Philipp Oeser added
Module
Render & Cycles
Interest
Cycles
and removed
Interest
Render & Cycles
labels 2024-04-02 11:03:15 +02:00
Member

@Alaska can you share more complicated scenes that reproduce the issue?

@Alaska can you share more complicated scenes that reproduce the issue?
Author
Member

@salipour I rarely use my AMD GPU for Cycles rendering, so I've only encountered this issue in one complex scene. A house render where the issue occurred in the window shadows (The test file I uploaded in the original report is just two windows from that scene).

I have uploaded a simplified version of that house scene for you to test with.
By "simplified", I mean I removed a lot of materials/textures to reduce the file size. And removed some assets I do not have permission to share (Two cars, and vegetation I had scattered across the landscape).
Simplified house scene.blend

This scene was created by exporting a 3D model from a Architectural CAD software, then making minor modifications to fix some geometry issues, then I did some material and lighting work and added a mountainous backdrop.

BVH2 HIP-RT BVH
BVH2.jpg HIP-RT.jpg
@salipour I rarely use my AMD GPU for Cycles rendering, so I've only encountered this issue in one complex scene. A house render where the issue occurred in the window shadows (The test file I uploaded in the original report is just two windows from that scene). I have uploaded a simplified version of that house scene for you to test with. By "simplified", I mean I removed a lot of materials/textures to reduce the file size. And removed some assets I do not have permission to share (Two cars, and vegetation I had scattered across the landscape). [Simplified house scene.blend](/attachments/20a433a2-2d80-4318-aee7-1eb61bbc4e71) This scene was created by exporting a 3D model from a Architectural CAD software, then making minor modifications to fix some geometry issues, then I did some material and lighting work and added a mountainous backdrop. |BVH2|HIP-RT BVH| |-|-| |![BVH2.jpg](/attachments/af86bd60-87a7-4f45-a5f1-7368acbacfae)|![HIP-RT.jpg](/attachments/798391e5-3b6c-416b-a772-e13a61a773ac)|
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
4 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#117527
No description provided.