EEVEE Next: Volumes: Lighting integration improvements #110653

Closed
Miguel Pozo wants to merge 4 commits from pragma37/blender:pull-eevee-next-volumes-2-cleanup into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Member

Add the features missing from #107176

  • Irradiance integration.
  • Self-shadows.
  • Receive shadows from shadow maps.

Shadow tagging works by iterating all the froxels in a compute shader and tagging the exact same position that will be sampled by the volume scatter shader.
Froxels that are fully transmissive, have no scattering, or are behind opaque geometry, are skipped.

It also adds a LoD bias parameter for shadow tagging, driven by the volumetric tile size.
This works for punctual shadows, but directional lights would need a way to support re-direction between levels at sampling time, which is out of the scope of this PR.

Add the features missing from #107176 * Irradiance integration. * Self-shadows. * Receive shadows from shadow maps. Shadow tagging works by iterating all the froxels in a compute shader and tagging the exact same position that will be sampled by the volume scatter shader. Froxels that are fully transmissive, have no scattering, or are behind opaque geometry, are skipped. It also adds a LoD bias parameter for shadow tagging, driven by the volumetric tile size. This works for punctual shadows, but directional lights would need a way to support re-direction between levels at sampling time, which is out of the scope of this PR.
Miguel Pozo added the
Module
EEVEE & Viewport
label 2023-07-31 15:41:38 +02:00
Miguel Pozo added 113 commits 2023-07-31 15:41:50 +02:00
bcc6789520 Revert "Use PassMain"
This reverts commit 073764391eb4aa8cb868946d37d6f2f716cb30d6.
73ce63772b light_volume_light_vector -> light_shape_vector_get
Make the lighting API work like eevee_light_lib.
2f52c6d5db Improve volume sampling
Decorrelate it from camera jitter offset.
Miguel Pozo added a new dependency 2023-07-31 15:41:59 +02:00
Miguel Pozo removed a dependency 2023-07-31 15:42:06 +02:00
Miguel Pozo added a new dependency 2023-07-31 15:42:26 +02:00
Miguel Pozo added this to the EEVEE & Viewport project 2023-07-31 15:45:17 +02:00
Miguel Pozo force-pushed pull-eevee-next-volumes-2-cleanup from ab0810c66b to 7ad97d8222 2023-08-04 19:16:46 +02:00 Compare
Miguel Pozo closed this pull request 2023-08-04 19:19:00 +02:00
Author
Member

Created a new pull request #110809, since this is still showing the commits from #107176 after a force push.

Created a new pull request #110809, since this is still showing the commits from #107176 after a force push.

Pull request closed

Sign in to join this conversation.
No reviewers
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.

Depends on
Reference: blender/blender#110653
No description provided.