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:
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/infos/eevee_subsurface_info.hh')
-rw-r--r--source/blender/draw/engines/eevee/shaders/infos/eevee_subsurface_info.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/infos/eevee_subsurface_info.hh b/source/blender/draw/engines/eevee/shaders/infos/eevee_subsurface_info.hh
index 30a9b98eef8..e676e15346c 100644
--- a/source/blender/draw/engines/eevee/shaders/infos/eevee_subsurface_info.hh
+++ b/source/blender/draw/engines/eevee/shaders/infos/eevee_subsurface_info.hh
@@ -7,7 +7,7 @@ GPU_SHADER_CREATE_INFO(eevee_transmittance_data)
GPU_SHADER_CREATE_INFO(eevee_subsurface_eval)
.do_static_compilation(true)
.additional_info("eevee_shared")
- .uniform_buf(0, "SubsurfaceData", "sss_buf")
+ .uniform_buf(2, "SubsurfaceData", "sss_buf")
.uniform_buf(1, "HiZData", "hiz_buf")
.sampler(0, ImageType::FLOAT_2D, "hiz_tx")
.sampler(1, ImageType::FLOAT_2D, "radiance_tx")
@@ -17,4 +17,4 @@ GPU_SHADER_CREATE_INFO(eevee_subsurface_eval)
.fragment_out(0, Type::VEC4, "out_combined")
.fragment_source("eevee_subsurface_eval_frag.glsl")
/* TODO(fclem) Output to diffuse pass without feedback loop. */
- .additional_info("draw_fullscreen");
+ .additional_info("draw_fullscreen", "draw_view");