Point Density casts wrong shadows #51996
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#51996
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
Windows 10(64 bit)
AMD Radeon RX 470 4GB
Blender Version
broken: 2.78 with Hash:
e92f235283
still broken at version 2.78.5 with Hash:
3361f21
(latest daily build)Short description of error
In a similar scene to #51805 I tried to volume render three objects with overlapping domains, each with a Point Density Node(in Object Vertices mode) and a Volume Shader. This results in wrong shadows, as the domains casts shadows where it is supposed to be transparent, due to a value of 0 in the point density.
Exact steps for others to reproduce the error
Create a material with a Point Density Node and a Volume Shader(Volume Absorption, Volume Shatter and Emission all create the bug), like the node setup from the screenshot above(multiply node is not important, I added it just for better volume visibility).
Apply the material to a cube, that represents the domain of the volume rendering and place a smaller cube or any other object on the inside of the domain cube
In the Point Density node, set the Object reference to the inner object, to use its vertices
Repeat steps 1-3 for two other domains, each time with a little smaller scale(to end up with a scene similar to top left in the screenshot above)
position a lamp and a ground plane accordingly to make the shadows visible in rendered viewport mode and in actual renders
Additional Info:
In contrast to #51805 this bug is present in both GPU and CPU rendering. But this problem only appears when using three or more domains inside each other, the shadows are correct with only one or two domains:
I used this blender file for testing:
test.blend
Changed status to: 'Open'
Added subscriber: @GeorgKohl
Changed status from 'Open' to: 'Archived'
Thanks for the report, but it's not a bug here. You've got 3 nested volumes, which makes it total up to 12 bounces to get light from lamp to camera, while your file is set up to use 8 bounces only. If you increase number of bounces, the shadow "artifact:" will go away.
Thank you very much! I just recently started to work with blender, so I didn't think about that, but now it's actually really obvious....
I hope this didn't waste too much of your time. Anyways keep up the great work and have a nice day :)