|
Blender V5.0
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_subsurface (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_shader_init_subsurface_scattering (bNodeTree *, bNode *node) |
| static int | node_shader_gpu_subsurface_scattering (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static void | node_shader_update_subsurface_scattering (bNodeTree *ntree, bNode *node) |
|
static |
Definition at line 16 of file node_shader_subsurface_scattering.cc.
References b, blender::nodes::SocketDeclaration::description, min, PROP_FACTOR, and blender::nodes::decl::Float::subtype.
|
static |
Definition at line 42 of file node_shader_subsurface_scattering.cc.
References uiLayout::prop(), ptr, and UI_ITEM_R_SPLIT_EMPTY_NAME.
|
static |
Definition at line 53 of file node_shader_subsurface_scattering.cc.
References GPU_link(), GPU_material_flag_set(), GPU_MATFLAG_DIFFUSE, GPU_MATFLAG_SUBSURFACE, GPU_stack_link(), in, and out.
|
static |
Definition at line 47 of file node_shader_subsurface_scattering.cc.
References bNode::custom1, bNode::custom2, and SHD_SUBSURFACE_RANDOM_WALK.
|
static |
Definition at line 68 of file node_shader_subsurface_scattering.cc.
References bNode::custom1, bNode::inputs, LISTBASE_FOREACH, blender::bke::node_set_socket_availability(), SHD_SUBSURFACE_BURLEY, SHD_SUBSURFACE_RANDOM_WALK, and STR_ELEM.