Blender
V3.3
|
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | node_shader_buts_subsurface (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) |
static void | node_shader_init_subsurface_scattering (bNodeTree *UNUSED(ntree), bNode *node) |
static int | node_shader_gpu_subsurface_scattering (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
static void | node_shader_update_subsurface_scattering (bNodeTree *ntree, bNode *node) |
|
static |
Definition at line 11 of file node_shader_subsurface_scattering.cc.
References usdtokens::b(), min, N_, and PROP_FACTOR.
Referenced by register_node_type_sh_subsurface_scattering().
|
static |
Definition at line 32 of file node_shader_subsurface_scattering.cc.
References ptr, UI_ITEM_R_SPLIT_EMPTY_NAME, and uiItemR().
Referenced by register_node_type_sh_subsurface_scattering().
|
static |
Definition at line 43 of file node_shader_subsurface_scattering.cc.
References BLI_findlink(), bNodeSocket::default_value, GPU_link(), GPU_material_flag_set(), GPU_material_sss_profile_create(), GPU_MATFLAG_DIFFUSE, GPU_MATFLAG_SUBSURFACE, GPU_stack_link(), GPU_uniform(), node, usdtokens::out(), and bNodeSocketValueRGBA::value.
Referenced by register_node_type_sh_subsurface_scattering().
|
static |
Definition at line 37 of file node_shader_subsurface_scattering.cc.
References node, and SHD_SUBSURFACE_RANDOM_WALK.
Referenced by register_node_type_sh_subsurface_scattering().
|
static |
Definition at line 65 of file node_shader_subsurface_scattering.cc.
References LISTBASE_FOREACH, node, nodeSetSocketAvailability(), ntree, SHD_SUBSURFACE_BURLEY, and STR_ELEM.
Referenced by register_node_type_sh_subsurface_scattering().