EEVEE-Next Reflection Cubemaps #105649

Closed
opened 2023-03-10 23:25:00 +01:00 by Clément Foucault · 2 comments

Reflection cubemaps are required by alpha-blended surfaces as raytracing is not possible on them or would be incredibly costly. Raytracing is not feasible for the 4.0 release so reflection cubemaps were chosen for their simplicity and existing implementation.

Rendering them is quite cheap compared to the irradiance grid and usually take only a few seconds at most.
Not storing them to disk will reduce the size of Blender files and allow more dynamic updates.
Doing so also means that some hardware will no longer refuse to load a light-cache because the number of reflection probes is too high.

Here is a breakdown of the tasks in order:

  • World shader rendering.
  • Create single pass down-sampler for color. (Use compute shader to do mipmap generation)
  • Port Shading code (simple loop).

Milestone: World reflections working.

  • Port data structures.
  • Copy world probe for background to avoid evaluating the world shader for each. (1 bit mask for copying the world)
  • Object shader pipeline (can be shared with the Irradiance).
  • Update tagging and runtime update.
  • Parallax & Influence volume.
  • Port viewport display

Milestone: minimum-viable-product for 4.0 release.

Extended targets

  • Cubemap normalization. (1)
  • Cubemap dynamic re-lighting.
  • Mixed LOD depending on screen space.
  • Render only queried cubemaps (follow shadows approach).

(1) https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2019/presentations/Hobson_Josh_The_Indirect_Lighting.pdf page 33

Reflection cubemaps are required by alpha-blended surfaces as raytracing is not possible on them or would be incredibly costly. Raytracing is not feasible for the 4.0 release so reflection cubemaps were chosen for their simplicity and existing implementation. Rendering them is quite cheap compared to the irradiance grid and usually take only a few seconds at most. Not storing them to disk will reduce the size of Blender files and allow more dynamic updates. Doing so also means that some hardware will no longer refuse to load a light-cache because the number of reflection probes is too high. Here is a breakdown of the tasks in order: - [x] World shader rendering. - [x] Create single pass down-sampler for color. (Use compute shader to do mipmap generation) - [x] Port Shading code (simple loop). #### Milestone: World reflections working. - [x] Port data structures. - [x] Copy world probe for background to avoid evaluating the world shader for each. (1 bit mask for copying the world) - [x] Object shader pipeline (can be shared with the Irradiance). - [x] Update tagging and runtime update. - [x] Parallax & Influence volume. - [x] Port viewport display #### Milestone: minimum-viable-product for 4.0 release. #### Extended targets - Cubemap normalization. (1) - Cubemap dynamic re-lighting. - Mixed LOD depending on screen space. - Render only queried cubemaps (follow shadows approach). (1) https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2019/presentations/Hobson_Josh_The_Indirect_Lighting.pdf page 33
Clément Foucault added the
Type
To Do
label 2023-03-10 23:25:00 +01:00
Clément Foucault added this to the EEVEE & Viewport project 2023-03-10 23:25:01 +01:00
Clément Foucault added this to the 4.0 milestone 2023-03-10 23:25:20 +01:00
Jeroen Bakker self-assigned this 2023-05-22 12:39:13 +02:00
Clément Foucault added the
Interest
EEVEE
label 2023-10-02 12:54:30 +02:00
Clément Foucault modified the milestone from 4.0 to 4.1 2023-10-02 12:58:24 +02:00
Blender Bot added the
Status
Archived
label 2024-01-22 12:49:40 +01:00
Blender Bot added
Status
Confirmed
and removed
Status
Archived
labels 2024-01-22 12:49:59 +01:00
Jeroen Bakker removed their assignment 2024-01-22 12:50:06 +01:00
Member

Unassigning, there are still extended targets.

Unassigning, there are still extended targets.
Clément Foucault modified the milestone from 4.1 to 4.2 LTS 2024-02-22 17:57:05 +01:00
Author
Member

Closing. Considering target quality achieved.

Closing. Considering target quality achieved.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-02-26 14:35:21 +01:00
Sign in to join this conversation.
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
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
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
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
2 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#105649
No description provided.