|
Blender V5.3
|
#include "draw_command_shared.hh"#include "draw_view.bsl.hh"#include "eevee_defines.hh"#include "eevee_gbuffer_read.bsl.hh"#include "eevee_reverse_z_lib.bsl.hh"#include "eevee_sampling_lib.bsl.hh"#include "eevee_subsurface_shared.hh"#include "gpu_shader_codegen_lib.glsl"#include "gpu_shader_math_angle.bsl.hh"#include "gpu_shader_math_matrix_construct.bsl.hh"#include "gpu_shader_math_vector_safe.bsl.hh"#include "gpu_shader_shared_exponent.bsl.hh"Go to the source code of this file.
Classes | |
| struct | eevee::subsurface::Setup |
| struct | eevee::subsurface::SubSurfaceSample |
| struct | eevee::subsurface::Convolve |
Namespaces | |
| namespace | eevee |
| namespace | eevee::subsurface |
Functions | |
Setup | |
Select tiles that have visible SSS effect and prepare the intermediate buffers for faster processing. | |
| void | eevee::subsurface::setup_main (Setup &srt, const draw::View &views, const gbuffer::Reader &reader, const uint3 group_id, const uint3 global_thread_id, const uint local_thread_index) |
Convolve | |
Process in screen space the diffuse radiance input to mimic subsurface transmission. This implementation follows the technique described in the SIGGRAPH presentation: "Efficient screen space subsurface scattering SIGGRAPH 2018" by Evgenii Golubev But, instead of having all the precomputed weights for all three color primaries, we precompute a weight profile texture to be able to support per pixel AND per channel radius. | |
| void | eevee::subsurface::convolve_main (Convolve &srt, const draw::View &views, const gbuffer::Reader &reader, const uint3 group_id, const uint3 local_thread_id) |
Variables | |
| PipelineCompute | eevee::subsurface::setup (setup_main) |
| PipelineCompute | eevee::subsurface::convolve (convolve_main) |