Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-09-19 01:06:45 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-09-19 01:09:51 +0300
commit6f3c279d9e7082b963f3ca758f6ba0561c4bcc9c (patch)
tree1ea2b44e57e192dd9a23223d605d1244734bff9e /source/blender/draw/intern/DRW_render.h
parentaa2e978bd8b47dbc06826698b07d850cdd499568 (diff)
EEVEE: Add support for GGX Multi-scatter
Based on http://jcgt.org/published/0008/01/03/ This is a simple trick that does *not* have a huge performance impact but does work pretty well. It just modifies the Fresnel term to account for the multibounce energy loss (coloration). However this makes the shader variations count double. To avoid this we use a uniform and pass the multiscatter use flag inside the sign of f90. This is a bit hacky but avoids many code duplication. This uses the simplification proposed by McAuley in A Journey Through Implementing Multiscattering BRDFs and Area Lights This does not handle area light differently than the IBL case but that's already an issue in current implementation. This is related to T68460. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8912
Diffstat (limited to 'source/blender/draw/intern/DRW_render.h')
0 files changed, 0 insertions, 0 deletions