EEVEE-Next: Add refraction roughness mapping #118533

Merged
Clément Foucault merged 2 commits from fclem/blender:eevee-next-refraction-roughness-map into main 2024-02-21 00:52:20 +01:00

This allows better roughness approximation for glass
materials when not using raytracing.

The fit was done by rendering a checkerboard
with a refractive plane and an orthographic camera.
Same setup with a reflective plane gave the
reference roughness to match.
Rendering a few hundred of small images with
Cycles and then finding a curve fit manually
by matching blur level.

Rel #118256

EEVEE-Next Before Cycles EEVEE-Next After
Capture d’écran du 2024-02-20 19-53-53.png Capture d’écran du 2024-02-20 19-50-21.png Capture d’écran du 2024-02-20 19-50-01.png
This allows better roughness approximation for glass materials when not using raytracing. The fit was done by rendering a checkerboard with a refractive plane and an orthographic camera. Same setup with a reflective plane gave the reference roughness to match. Rendering a few hundred of small images with Cycles and then finding a curve fit manually by matching blur level. Rel #118256 | EEVEE-Next Before | Cycles | EEVEE-Next After | | -------- | -------- | -------- | | ![Capture d’écran du 2024-02-20 19-53-53.png](/attachments/d82d6ecf-9a1f-426a-b5bb-1236feb624c3)| ![Capture d’écran du 2024-02-20 19-50-21.png](/attachments/eaf7fc31-2197-4121-9e0c-ba1317adb6cb)| ![Capture d’écran du 2024-02-20 19-50-01.png](/attachments/3ab778b6-840a-4af0-923c-1b3e94b7129d)|
Clément Foucault added 1 commit 2024-02-20 20:18:07 +01:00
This allows better roughness approximation for glass
materials when not using raytracing.

The fit was done by rendering a checkerboard
with a refractive plane and an orthographic camera.
Rendering a few hundred of small images with
Cycles and then finding a curve fit manually.
Clément Foucault added the
Interest
EEVEE
label 2024-02-20 20:21:17 +01:00
Clément Foucault added this to the 4.2 LTS milestone 2024-02-20 20:21:22 +01:00
Clément Foucault added 1 commit 2024-02-21 00:51:17 +01:00
Clément Foucault merged commit 8934633ecc into main 2024-02-21 00:52:20 +01:00
Clément Foucault deleted branch eevee-next-refraction-roughness-map 2024-02-21 00:52:22 +01:00
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
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 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#118533
No description provided.