shadow catcher appearing in vector pass #111149

Open
opened 2023-08-15 21:15:31 +02:00 by michael campbell · 4 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 536.99

Blender Version
Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-06-30 00:04, hash: e73a9a6a7d7b
Worked: (newest version of Blender that worked as expected)

Short description of error
vector data is present for the shadow catcher objects. This needs to be omitted otherwise the vector blur node can't be used to add motion blur to the 3d elements, because unwanted motion blur will be added to the environment pass. If it a backplate was used then it wouldn't be a problem, transparent film could be set, and the blur would only affect the geometry. This also has an issue though, because the vector blur pass modifies the alpha too, so the shadow catcher vector could still affect the blur of the 3d geometry even if it's hidden by transparency.

Exact steps for others to reproduce the error

  1. open attached file
  2. go to frame 10
  3. open the compositor
  4. render still frame
  5. check the compositor backdrop (shows vector data for the shadow catcher).

Same result if film is set to transparent.

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 536.99 **Blender Version** Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-06-30 00:04, hash: `e73a9a6a7d7b` Worked: (newest version of Blender that worked as expected) **Short description of error** vector data is present for the shadow catcher objects. This needs to be omitted otherwise the vector blur node can't be used to add motion blur to the 3d elements, because unwanted motion blur will be added to the environment pass. If it a backplate was used then it wouldn't be a problem, transparent film could be set, and the blur would only affect the geometry. This also has an issue though, because the vector blur pass modifies the alpha too, so the shadow catcher vector could still affect the blur of the 3d geometry even if it's hidden by transparency. **Exact steps for others to reproduce the error** 1. open attached file 2. go to frame 10 3. open the compositor 4. render still frame 5. check the compositor backdrop (shows vector data for the shadow catcher). Same result if film is set to transparent.
michael campbell added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2023-08-15 21:15:31 +02:00
Member

Can confirm. Not sure if it's a limitation of the shadow catcher tho

Can confirm. Not sure if it's a limitation of the shadow catcher tho
Member

This isn't specific to the Vector pass, currently shadow catchers write all data passes as if they were regular geometry - only Combined is affected.

To be honest, I'm not sure what kind of compositing setup this would be a problem in, and why you can't just mask it out if needed using either the Alpha channel or e.g. the Object Index or Cryptomatte pass?

This isn't specific to the Vector pass, currently shadow catchers write all data passes as if they were regular geometry - only Combined is affected. To be honest, I'm not sure what kind of compositing setup this would be a problem in, and why you can't just mask it out if needed using either the Alpha channel or e.g. the Object Index or Cryptomatte pass?

I can get quite close that way, but I struggle to get avoid artefacts where the shadow catcher edge is and around the object:

image

image

Using cryptomatte is a bit worse because it's anti-aliased:

image

I can get quite close that way, but I struggle to get avoid artefacts where the shadow catcher edge is and around the object: ![image](/attachments/64a498e9-c3c7-4ff3-a3b4-76cbd38133cf) ![image](/attachments/ae977477-6418-4612-9db4-38e4db89e757) Using cryptomatte is a bit worse because it's anti-aliased: ![image](/attachments/8ec74fbe-66f4-4b49-86a9-3fe6db7e9a1e)

although I think close this down as invalid, because often you do want to add motion blur to the shadow. Although when using the shadow catcher pass, it does seem to suffer the same artefact at the transistion between the shadow catcher and the environment (horizontal line in the middle of the cube)

image

although I think close this down as invalid, because often you do want to add motion blur to the shadow. Although when using the shadow catcher pass, it does seem to suffer the same artefact at the transistion between the shadow catcher and the environment (horizontal line in the middle of the cube) ![image](/attachments/9c22fc7d-48ab-42b6-8bbd-3e36c8d7b1b1)
1.5 MiB
Iliya Katushenock removed the
Interest
Render & Cycles
label 2023-10-05 17:21:58 +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#111149
No description provided.