Blender V5.0
eevee_subsurface.hh File Reference

Go to the source code of this file.

Classes

struct  blender::eevee::SubsurfaceModule

Namespaces

namespace  blender
namespace  blender::eevee

Typedefs

Subsurface
using blender::eevee::SubsurfaceTileBuf = draw::StorageArrayBuffer<uint, 1024, true>

Detailed Description

Postprocess diffuse radiance output from the diffuse evaluation pass 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.

Definition in file eevee_subsurface.hh.