EEVEE-Next Horizon Based Global Illumination #112979

Open
opened 2023-09-27 21:52:08 +02:00 by Clément Foucault · 0 comments

Motivation

The output of ray-tracing of diffuse or high roughness glossy material is too noisy to get denoised properly and leads to too many flickering and high performance impact. We should switch to a different radiance reconstruction method for those surface.

Implementation

The idea is to use a horizon scan algorithm to take into account all samples taken in the radiance calculation. We can reuse the same samples for both diffuse and glossy BSDFs.

The result should blend into the raytrace radiance.
Glossy pixels should blend between both method depending on roughness.

Tracing should be done only once for all Closures to avoid the cost of tracing over this scan.

Should scan the entire screen if possible.

Python API

Old properties refer specifically to GTAO (gtao_distance, use_gtao_bent_normal). We should rename them to use horizon_scan or (ambient_occlusion when it makes sense) while keeping the old properties for compatibility reasons and mark them as deprecated.

  • Move gtao_distance to view layer property and rename ambient_occlusion_distance

Tasks

Future

  • Speed up scan using caching approach like Line Sweep Ambient Occlusion.
  • Port AO Node (need to support inverted AO, which currently produces artifacts with the new method).

References

Horizon-Based Indirect Lighting
Screen Space Indirect Lighting with Visibility Bitmask

## Motivation The output of ray-tracing of diffuse or high roughness glossy material is too noisy to get denoised properly and leads to too many flickering and high performance impact. We should switch to a different radiance reconstruction method for those surface. ## Implementation The idea is to use a horizon scan algorithm to take into account all samples taken in the radiance calculation. We can reuse the same samples for both diffuse and glossy BSDFs. The result should blend into the raytrace radiance. Glossy pixels should blend between both method depending on roughness. Tracing should be done only once for all Closures to avoid the cost of tracing over this scan. Should scan the entire screen if possible. ## Python API Old properties refer specifically to GTAO (`gtao_distance`, `use_gtao_bent_normal`). We should rename them to use `horizon_scan` or (`ambient_occlusion` when it makes sense) while keeping the old properties for compatibility reasons and mark them as deprecated. - [ ] Move `gtao_distance` to view layer property and rename `ambient_occlusion_distance` ## Tasks - [x] #114150 Core loop logic - [x] #114150 Port AO Pass - [x] #114259 Add pass in `Raytrace` module - [x] #114259 Add horizon scan to raytracing module ## Future - Speed up scan using caching approach like Line Sweep Ambient Occlusion. - Port AO Node (need to support inverted AO, which currently produces artifacts with the new method). ## References [Horizon-Based Indirect Lighting](https://github.com/Patapom/GodComplex/blob/master/Tests/TestHBIL/2018%20Mayaux%20-%20Horizon-Based%20Indirect%20Lighting%20(HBIL).pdf) [Screen Space Indirect Lighting with Visibility Bitmask](https://arxiv.org/pdf/2301.11376.pdf)
Clément Foucault added the
Type
To Do
label 2023-09-27 21:52:08 +02:00
Clément Foucault added this to the EEVEE & Viewport project 2023-09-27 21:52:10 +02:00
Clément Foucault added the
Interest
EEVEE
label 2023-10-02 12:54:31 +02:00
Clément Foucault added this to the 4.1 milestone 2023-10-02 12:58:24 +02:00
Clément Foucault changed title from EEVEE-Next: Horizon Based Global Illumination to EEVEE-Next Horizon Based Global Illumination 2023-10-02 12:59:20 +02:00
Clément Foucault modified the milestone from 4.1 to 4.2 LTS 2024-02-14 11:40:35 +01: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 Assignees
1 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#112979
No description provided.