Blender V5.3
eevee::subsurface Namespace Reference

Classes

struct  Setup
struct  SubSurfaceSample
struct  Convolve

Functions

Setup

Select tiles that have visible SSS effect and prepare the intermediate buffers for faster processing.

void 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 convolve_main (Convolve &srt, const draw::View &views, const gbuffer::Reader &reader, const uint3 group_id, const uint3 local_thread_id)

Variables

PipelineCompute setup (setup_main)
PipelineCompute convolve (convolve_main)

Function Documentation

◆ convolve_main()

◆ setup_main()

Variable Documentation

◆ convolve

PipelineCompute eevee::subsurface::convolve(convolve_main) ( convolve_main )

◆ setup

PipelineCompute eevee::subsurface::setup(setup_main) ( setup_main )