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>2021-10-24 17:31:17 +0300
committerClément Foucault <foucault.clem@gmail.com>2021-11-05 18:55:06 +0300
commit52a81b81755d23cbe08ff135e982b5713812f295 (patch)
tree86c44c0d0080b52fa97b0edaf84903e3c9e548ea /source/blender/draw/engines/eevee/eevee_instance.hh
parent55a85af05d3fbf256ec27535fd10c8188a5dada4 (diff)
EEVEE: Raytracing: Add back screen space raytracing
The new pipeline is now cleaner and allows for deferred refraction. The refractions are more accurate but are not denoised for now. More research needs to be done in this area. There is no feedback buffer for now, so reflections of metallic surfaces will appear black. The same restriction on refractive materials still holds true. They will not appear in screen space tracing of other non refractive surfaces. However, refractive surfaces (non-blended) can now reflect themselves and the other surfaces with screen space reflections. Half res tracing is not implemented back yet.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_instance.hh')
-rw-r--r--source/blender/draw/engines/eevee/eevee_instance.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_instance.hh b/source/blender/draw/engines/eevee/eevee_instance.hh
index 24c1fae5515..09548ca504d 100644
--- a/source/blender/draw/engines/eevee/eevee_instance.hh
+++ b/source/blender/draw/engines/eevee/eevee_instance.hh
@@ -36,6 +36,7 @@
#include "eevee_lookdev.hh"
#include "eevee_material.hh"
#include "eevee_motion_blur.hh"
+#include "eevee_raytracing.hh"
#include "eevee_renderpasses.hh"
#include "eevee_sampling.hh"
#include "eevee_shader.hh"
@@ -70,6 +71,7 @@ class Instance {
MotionBlurModule motion_blur;
LightModule lights;
LightProbeModule lightprobes;
+ RaytracingModule raytracing;
HiZBufferModule hiz;
/* TODO(fclem) Move it to scene layer data. */
ShadowModule shadows;
@@ -112,6 +114,7 @@ class Instance {
motion_blur(*this),
lights(*this),
lightprobes(*this),
+ raytracing(*this),
hiz(*this),
shadows(*this),
subsurface(*this),