EEVEE: Emission not received when Shader to RGB is connected #119828

Closed
opened 2024-03-23 16:42:15 +01:00 by Gael · 5 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.86

Blender Version
Broken: version: 4.2.0 Alpha, branch: main, commit date: 2024-03-23 00:24, hash: 8b514bccd162

Short description of error
I use a Shader to RGB after a principled BSDF to do a toon shader, it works perfectly with lights (eevee next is awesome) but doesn't take in consideration the emission of objects.

Exact steps for others to reproduce the error
Either open attached file or:

  • Add Plane with a principled BSDF, connected to a "shader to RGB", connected to the Material output
  • Add cube with an emission shader, place it over Plane
    the Plane will appear black whatever the emission power, but will work properly with classic lights.

Thanks !

bugReport.blend

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.86 **Blender Version** Broken: version: 4.2.0 Alpha, branch: main, commit date: 2024-03-23 00:24, hash: `8b514bccd162` **Short description of error** I use a Shader to RGB after a principled BSDF to do a toon shader, it works perfectly with lights (eevee next is awesome) but doesn't take in consideration the emission of objects. **Exact steps for others to reproduce the error** Either open attached file or: - Add Plane with a principled BSDF, connected to a "shader to RGB", connected to the Material output - Add cube with an emission shader, place it over Plane the Plane will appear black whatever the emission power, but will work properly with classic lights. Thanks ! [bugReport.blend](https://projects.blender.org/attachments/ae3975fa-3c16-4c2c-a6ce-0c826a3212ec)
Gael added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2024-03-23 16:42:16 +01:00
Member

Hi, thanks for the report. Unable to confirm either. Can you share the viewport render result you're getting?

Hi, thanks for the report. Unable to confirm either. Can you share the viewport render result you're getting?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-03-25 12:07:00 +01:00
Author

Hello ! Here are some screenshots and the file. You can see the plane's material which doesn't receives the light from the cube when the "Shader to RGB" is connected :)

Hello ! Here are some screenshots and the file. You can see the plane's material which doesn't receives the light from the cube when the "Shader to RGB" is connected :)
Member

Thanks, can confirm with both EEVEE and EEVEE-next

Thanks, can confirm with both EEVEE and EEVEE-next
Pratik Borhade changed title from Emission doesn't work with the node "Shader to RGB" on EEVEE Next to EEVEE: Emission not received when Shader to RGB is connected 2024-03-26 04:44:46 +01:00

Screen space raytracing is not possible on any BSDF node behind the Shader To RGB node. This is a limitation. However, they should pick up emissive object lighting from volume lightprobes.

Screen space raytracing is not possible on any BSDF node behind the Shader To RGB node. This is a limitation. However, they should pick up emissive object lighting from volume lightprobes.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-04-03 21:50:27 +02:00

Perhaps you can use a aov for shader to RGb, and combine it with bdsf from main buffer using composition.

Perhaps you can use a aov for shader to RGb, and combine it with bdsf from main buffer using composition.
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#119828
No description provided.