EEVEE: Use rasterizer to tag shadow update #123563

Open
Clément Foucault wants to merge 1 commits from fclem/blender:eevee-shadow-rasterized-update-tag into main

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

This improve the precision of the update tagging
(and avoid more false positive tagging), we tag
using a rasterized version of the bounding box
instead of the bounds of its projection (with
additional fallback).

TODOs:

  • Make it work: currently not working and breaks renderdoc captures (all magenta).
  • Add conservative rasterization equivalent (inflate bounds in screen space, see armature outline drawing).
  • Use infinite projection matrix to not loose distant objects.
This improve the precision of the update tagging (and avoid more false positive tagging), we tag using a rasterized version of the bounding box instead of the bounds of its projection (with additional fallback). TODOs: - [ ] Make it work: currently not working and breaks renderdoc captures (all magenta). - [ ] Add conservative rasterization equivalent (inflate bounds in screen space, see armature outline drawing). - [ ] Use infinite projection matrix to not loose distant objects.
Clément Foucault added the
Interest
EEVEE
label 2024-06-21 17:54:42 +02:00
Clément Foucault added 1 commit 2024-06-21 17:54:46 +02:00
This improve the precision of the update tagging
(and avoid more false positive tagging), we tag
using a rasterized version of the bounding box
instead of the bounds of its projection (with
additional fallback).
This pull request has changes conflicting with the target branch.
  • source/blender/draw/engines/eevee_next/shaders/eevee_shadow_tag_update_comp.glsl

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u eevee-shadow-rasterized-update-tag:fclem-eevee-shadow-rasterized-update-tag
git checkout fclem-eevee-shadow-rasterized-update-tag
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
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#123563
No description provided.