Blender
V3.3
|
Public Member Functions | |
CBSSRDFClosure () | |
void | setup (ShaderData *sd, uint32_t path_flag, float3 weight) |
void | alloc (ShaderData *sd, uint32_t path_flag, float3 weight, ClosureType type) |
Public Attributes | |
Bssrdf | params |
float | ior |
ustring | method |
![]() | |
OSL::ustring | label |
Definition at line 32 of file bssrdf.cpp.
|
inline |
Definition at line 38 of file bssrdf.cpp.
References usdtokens::ior(), and params.
|
inline |
Definition at line 60 of file bssrdf.cpp.
References bssrdf(), bssrdf_alloc(), bssrdf_setup(), blender::math::clamp(), usdtokens::ior(), make_float3, params, PATH_RAY_DIFFUSE_ANCESTOR, and type.
|
inlinevirtual |
Implements CClosurePrimitive.
Definition at line 45 of file bssrdf.cpp.
References CLOSURE_BSSRDF_BURLEY_ID, CLOSURE_BSSRDF_RANDOM_WALK_FIXED_RADIUS_ID, CLOSURE_BSSRDF_RANDOM_WALK_ID, ensure_valid_reflection(), params, u_burley(), u_random_walk(), and u_random_walk_fixed_radius().
float CBSSRDFClosure::ior |
Definition at line 35 of file bssrdf.cpp.
ustring CBSSRDFClosure::method |
Definition at line 36 of file bssrdf.cpp.
Bssrdf CBSSRDFClosure::params |
Definition at line 34 of file bssrdf.cpp.