Embree shades hair differently from CUDA and OptiX #78152
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#78152
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: Linux-5.4.0-7634-generic-x86_64-with-debian-bullseye
Graphics card: GTX 1050Ti
Blender Version:
Broken: 2.90.0
fdfe85c616
(2020-06-22 15:41)Worked: Prior to Embree being enabled by default.
99436acde8
Short description of error:
I've found that in some cases hair will render differently between CPU and GPU rendering. The most common difference is shadows are slightly different.
At first glance this doesn't look like much of an issue, however, if you're rendering an animation on a render farm where some frames are work on by GPUs and others on CPUs (or even doing it locally because OptiX doesn't support CPU+GPU), the difference in shadows appear as a kind of flicker in the hair.
Here's a video show casing this issue:
2020-06-23 20-25-59.mp4
This is caused by Embree as switching back to BVH2 on the CPU makes the issue disappear.
The issue seems most apparent when you have a lot of thin hairs close to each other. Also when you're using a fully opaque surface material.
At first I thought this was a noise pattern difference between CPU and GPU. However, increasing sample counts and using denoisers doesn't solve the issue.
Exact steps for others to reproduce the error:
Create some scenes with some hair. Here's two I made:
#78152 - Embree Hair 1.blend
#78152 - Embree Hair 2.blend
Added subscriber: @Alaska
I don't know how feasible a fix for this is, but one "simple" solution jumps to mind:
Expose the "Use Embree" option to the user in a button not hidden behind a debug panel until the Embree for GPU thing is sorted.
Added subscriber: @brecht
Changed status from 'Needs Triage' to: 'Confirmed'
Embree for GPU would not solve this most likely, I would suspect the ribbon intersection code more than the BVH traversal.
Added subscriber: @TomG
@Alaska if you don't use Sky texture and use only sky light, do you have the same render output ?
Yes, the issue persists if I don't use the sky texture.
Added subscriber: @Raimund58
Added subscriber: @dfelinto
Leaving it tagged as 2.91, but lowering its priority since it won't be tackled immediately.
As a side note for people experiencing this issue, changing the hair shape to
3D curve
in theRender Properties
panel works around this issue.This issue was referenced by
c60c30205d
Changed status from 'Confirmed' to: 'Resolved'
Testing with the patch seems to greatly reduced the differences between CPU rendering and GPU (CUDA). Thank you @brecht
There are still small differences, but I haven't investigated much.