|
Blender V5.3
|
#include <eevee_subsurface_shared.hh>
Inherited by blender::draw::UniformBuffer< SubsurfaceData >.
Public Attributes | |
| float4 | samples [SSS_SAMPLE_MAX] |
| int | sample_len |
| float | min_radius |
| int | _pad1 |
| int | _pad2 |
Definition at line 29 of file eevee_subsurface_shared.hh.
| int blender::eevee::SubsurfaceData::_pad1 |
Definition at line 41 of file eevee_subsurface_shared.hh.
| int blender::eevee::SubsurfaceData::_pad2 |
Definition at line 42 of file eevee_subsurface_shared.hh.
| float blender::eevee::SubsurfaceData::min_radius |
WORKAROUND: To avoid invalid integral for components that have very small radius, we clamp the minimal radius. This add bias to the SSS effect but this is the simplest workaround I could find to ship this without visible artifact.
Definition at line 40 of file eevee_subsurface_shared.hh.
| int blender::eevee::SubsurfaceData::sample_len |
Number of samples precomputed in the set.
Definition at line 34 of file eevee_subsurface_shared.hh.
| float4 blender::eevee::SubsurfaceData::samples[SSS_SAMPLE_MAX] |
xy: 2D sample position [-1..1], zw: sample_bounds.
Definition at line 32 of file eevee_subsurface_shared.hh.