EEVEE-Next: Add slab thickness and thickness from shadow options #121171

Merged
Clément Foucault merged 26 commits from fclem/blender:eevee-next-thickness-slab into main 2024-04-30 20:32:55 +02:00

Implement the design discussed in #120384.

This adds two parameters. One for changing the approximation
method, and another to use the thickness from shadow map.

We pack the former in the gbuffer by dividing the 16bits
used for thickness by two and use one bit to store the
method.

The thickness from shadow map is now decoupled from the
light evaluation shader. This makes it more performant and
compatible with ray-tracing. This commit also uses the
same biases as shadow mapping to avoid aliasing artifacts
(fix #119339).

This refactors the light evaluation quite a bit to
remove unused bits bits and make the whole transmission
light evaluation without too much complexity.

Implement the design discussed in #120384. This adds two parameters. One for changing the approximation method, and another to use the thickness from shadow map. We pack the former in the gbuffer by dividing the 16bits used for thickness by two and use one bit to store the method. The thickness from shadow map is now decoupled from the light evaluation shader. This makes it more performant and compatible with ray-tracing. This commit also uses the same biases as shadow mapping to avoid aliasing artifacts (fix #119339). This refactors the light evaluation quite a bit to remove unused bits bits and make the whole transmission light evaluation without too much complexity.
Clément Foucault added this to the 4.2 LTS milestone 2024-04-27 21:46:07 +02:00
Clément Foucault added the
Interest
EEVEE
label 2024-04-27 21:46:07 +02:00
Clément Foucault added 2 commits 2024-04-27 21:46:18 +02:00
Clément Foucault added 4 commits 2024-04-28 11:25:00 +02:00
Clément Foucault added 2 commits 2024-04-28 19:18:24 +02:00
Clément Foucault added 1 commit 2024-04-28 19:48:28 +02:00
Clément Foucault added 1 commit 2024-04-28 20:11:32 +02:00
Clément Foucault added 1 commit 2024-04-28 21:13:20 +02:00
Clément Foucault added 3 commits 2024-04-29 19:11:10 +02:00
Clément Foucault added 5 commits 2024-04-29 20:08:51 +02:00
Clément Foucault added 2 commits 2024-04-30 12:45:22 +02:00
Clément Foucault added 3 commits 2024-04-30 19:30:04 +02:00
Clément Foucault added 1 commit 2024-04-30 19:33:20 +02:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
745367286e
Merge branch 'main' into eevee-next-thickness-slab
Author
Member

@blender-bot build

@blender-bot build
Clément Foucault added 1 commit 2024-04-30 20:14:12 +02:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
ed14b879ee
Fix shader UUID system
Author
Member

@blender build lint linux-x86_64

@blender build lint linux-x86_64
Author
Member

@blender-bot build linux-x86_64

@blender-bot build linux-x86_64
Clément Foucault merged commit 303f91a09c into main 2024-04-30 20:32:55 +02:00
Clément Foucault deleted branch eevee-next-thickness-slab 2024-04-30 20:32:58 +02:00
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 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#121171
No description provided.