Blender
V3.3
|
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | node_shader_buts_principled (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) |
static void | node_shader_init_principled (bNodeTree *UNUSED(ntree), bNode *node) |
static int | node_shader_gpu_bsdf_principled (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
static void | node_shader_update_principled (bNodeTree *ntree, bNode *node) |
|
static |
Definition at line 11 of file node_shader_bsdf_principled.cc.
References usdtokens::b(), min, N_, and PROP_FACTOR.
Referenced by register_node_type_sh_bsdf_principled().
|
static |
Definition at line 110 of file node_shader_bsdf_principled.cc.
References ptr, UI_ITEM_R_SPLIT_EMPTY_NAME, and uiItemR().
Referenced by register_node_type_sh_bsdf_principled().
|
static |
Definition at line 126 of file node_shader_bsdf_principled.cc.
References BLI_findlink(), CD_ORCO, bNodeSocket::default_value, GPU_attribute(), GPU_constant(), GPU_link(), GPU_material_flag_set(), GPU_material_sss_profile_create(), GPU_MATFLAG_CLEARCOAT, GPU_MATFLAG_DIFFUSE, GPU_MATFLAG_GLOSSY, GPU_MATFLAG_PRINCIPLED_ANY, GPU_MATFLAG_PRINCIPLED_CLEARCOAT, GPU_MATFLAG_PRINCIPLED_DIELECTRIC, GPU_MATFLAG_PRINCIPLED_GLASS, GPU_MATFLAG_PRINCIPLED_METALLIC, GPU_MATFLAG_REFRACT, GPU_MATFLAG_SUBSURFACE, GPU_MATFLAG_TRANSPARENT, GPU_stack_link(), GPU_uniform(), node, usdtokens::out(), SHD_GLOSSY_MULTI_GGX, socket_not_one, socket_not_zero, and bNodeSocketValueRGBA::value.
Referenced by register_node_type_sh_bsdf_principled().
|
static |
Definition at line 116 of file node_shader_bsdf_principled.cc.
References node, SHD_GLOSSY_GGX, and SHD_SUBSURFACE_RANDOM_WALK.
Referenced by register_node_type_sh_bsdf_principled().
|
static |
Definition at line 219 of file node_shader_bsdf_principled.cc.
References LISTBASE_FOREACH, node, nodeSetSocketAvailability(), ntree, SHD_GLOSSY_GGX, SHD_SUBSURFACE_BURLEY, STR_ELEM, and STREQ.
Referenced by register_node_type_sh_bsdf_principled().