|
Blender V4.3
|
#include <eevee_shader_shared.hh>
Public Attributes | |
| float4 | samples [SSS_SAMPLE_MAX] |
| int | sample_len |
| float | min_radius |
| int | _pad1 |
| int | _pad2 |
Definition at line 2002 of file eevee_shader_shared.hh.
| int blender::eevee::SubsurfaceData::_pad1 |
Definition at line 2012 of file eevee_shader_shared.hh.
| int blender::eevee::SubsurfaceData::_pad2 |
Definition at line 2013 of file eevee_shader_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 2011 of file eevee_shader_shared.hh.
| int blender::eevee::SubsurfaceData::sample_len |
Number of samples precomputed in the set.
Definition at line 2007 of file eevee_shader_shared.hh.
Referenced by blender::eevee::SubsurfaceModule::end_sync(), and blender::eevee::SubsurfaceModule::SubsurfaceModule().
| float4 blender::eevee::SubsurfaceData::samples[SSS_SAMPLE_MAX] |
xy: 2D sample position [-1..1], zw: sample_bounds.
Definition at line 2005 of file eevee_shader_shared.hh.