|
Blender V5.0
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_glass (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_shader_init_glass (bNodeTree *, bNode *node) |
| static int | node_shader_gpu_bsdf_glass (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
|
static |
Definition at line 12 of file node_shader_bsdf_glass.cc.
References blender::nodes::DeclarationListBuilder::add_input(), b, blender::nodes::SocketDeclaration::description, PROP_FACTOR, PROP_WAVELENGTH, and blender::nodes::decl::Float::subtype.
|
static |
Definition at line 44 of file node_shader_bsdf_glass.cc.
References uiLayout::prop(), ptr, and UI_ITEM_R_SPLIT_EMPTY_NAME.
|
static |
Definition at line 54 of file node_shader_bsdf_glass.cc.
References bNode::custom1, GPU_constant(), GPU_link(), GPU_material_flag_set(), GPU_MATFLAG_GLOSSY, GPU_MATFLAG_REFLECTION_MAYBE_COLORED, GPU_MATFLAG_REFRACT, GPU_MATFLAG_REFRACTION_MAYBE_COLORED, GPU_stack_link(), in, out, and SHD_GLOSSY_MULTI_GGX.
|
static |
Definition at line 49 of file node_shader_bsdf_glass.cc.
References bNode::custom1, and SHD_GLOSSY_MULTI_GGX.