Cycles Cryptomatte wrong on objects with SSS #97169

Closed
opened 2022-04-08 15:21:49 +02:00 by Rincewind · 13 comments

System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15

Blender Version
Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c
Worked: never it seems

Short description of error
When using Crytomatte with an object which uses subsurface scattering, the composed result is too bright

Exact steps for others to reproduce the error

  1. Create an object with SSS
    Crytomatte Screen 01.png

  2. Compose the image
    Crytomatte Screen 02.png

The dice is in the Crytomatte render too bright.

Video

blender_aYggpozVGZ.mp4

Blender File

Crytomatte Test.blend

Workaround

Crytomatte Screen 02 workaround.png

**System Information** Operating system: Windows-10-10.0.19042-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15 **Blender Version** Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `cc66d1020c` Worked: never it seems **Short description of error** When using Crytomatte with an object which uses subsurface scattering, the composed result is too bright **Exact steps for others to reproduce the error** 1. Create an object with SSS ![Crytomatte Screen 01.png](https://archive.blender.org/developer/F12983901/Crytomatte_Screen_01.png) 2. Compose the image ![Crytomatte Screen 02.png](https://archive.blender.org/developer/F12983905/Crytomatte_Screen_02.png) The dice is in the Crytomatte render too bright. **Video** [blender_aYggpozVGZ.mp4](https://archive.blender.org/developer/F12983911/blender_aYggpozVGZ.mp4) **Blender File** [Crytomatte Test.blend](https://archive.blender.org/developer/F12983964/Crytomatte_Test.blend) **Workaround** ![Crytomatte Screen 02 workaround.png](https://archive.blender.org/developer/F12983914/Crytomatte_Screen_02_workaround.png)
Author

Added subscriber: @Rincewind3D-1

Added subscriber: @Rincewind3D-1
Author

Update:

It may be just an UI bug in Blender. If I save images as a composed version and the original render, both seems to be the identical:

Composed with Cryptomatte

Crytomatte Compositioin Render.png

Orignal Image

Crytomatte Original Render.png

Update: It may be just an UI bug in Blender. If I save images as a composed version and the original render, both seems to be the identical: Composed with Cryptomatte ![Crytomatte Compositioin Render.png](https://archive.blender.org/developer/F12983971/Crytomatte_Compositioin_Render.png) Orignal Image ![Crytomatte Original Render.png](https://archive.blender.org/developer/F12983973/Crytomatte_Original_Render.png)
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Hm, can confirm.
Legacy Cryptomatte has the same problem, mattes are also off.
In Eevee, this seems OK though

Hm, can confirm. Legacy Cryptomatte has the same problem, mattes are also off. In Eevee, this seems OK though
Philipp Oeser changed title from Crytomatte & SSS is broken to Cycles Crytomatte wrong on objects with SSS 2022-04-08 16:07:14 +02:00
Philipp Oeser changed title from Cycles Crytomatte wrong on objects with SSS to Cycles Cryptomatte wrong on objects with SSS 2022-04-08 16:16:01 +02:00
Author

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Author

maybe @Jeroen-Bakker can help?

maybe @Jeroen-Bakker can help?
Member

Added subscriber: @LukasStockner

Added subscriber: @LukasStockner
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Lukas Stockner self-assigned this 2022-05-07 23:19:47 +02:00
Member

Fixed by 1b566b70c1.

Fixed by 1b566b70c1.
Author

Intresting. I can confirm that this bug is fixed in the current 3.2 Beta.

So, the hohle time Crypomatte gave back the correct image and the image without Crypomatte was bugged?

Intresting. I can confirm that this bug is fixed in the current 3.2 Beta. So, the hohle time Crypomatte gave back the correct image and the image without Crypomatte was bugged?
Member

No, the problem was that data passes were being written twice, and that included the Cryptomatte pass. If you look at the matte pass in a version without the fix, its values are over 1.

No, the problem was that data passes were being written twice, and that included the Cryptomatte pass. If you look at the matte pass in a version without the fix, its values are over 1.
Author

Just to clarify, how should it look like?

Before the bugfix my example file created a brighter box with cryptomatte and a darker box without cryptomatte (original render pass).

Since the bugfix, I get the bright box in the origina render pass and cryptomatte.

This means, what Cryptomatte returned before the bugfix is now the new default for the render pass.

I don't know what's here right and wrong. Just want to clarify it. ;)

Just to clarify, how should it look like? Before the bugfix my example file created a brighter box **with** cryptomatte and a darker box without cryptomatte (original render pass). Since the bugfix, I get the bright box in the origina render pass **and** cryptomatte. This means, what Cryptomatte returned **before** the bugfix is now the new default for the render pass. I don't know what's here right and wrong. Just want to clarify it. ;)
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#97169
No description provided.