pub fn compute_subsurface(
normal: Vec3,
light_dir: Vec3,
view_dir: Vec3,
thickness: f32,
config: &DepthEffectsConfig,
) -> f32Expand description
Compute subsurface scattering approximation for thin glyph parts. Light wraps around thin geometry, creating a translucent glow.