|
Blender V4.5
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_init_coefficients (bNodeTree *, bNode *node) |
| static void | node_shader_update_coefficients (bNodeTree *ntree, bNode *node) |
| static int | node_shader_gpu_volume_coefficients (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
|
static |
Definition at line 16 of file node_shader_volume_coefficients.cc.
References abs, blender::nodes::DeclarationListBuilder::add_input(), blender::nodes::DeclarationListBuilder::add_layout(), b, BLT_I18NCONTEXT_ID_ID, blender::nodes::SocketDeclaration::description, min, node_declare(), uiLayout::prop(), PROP_FACTOR, blender::nodes::decl::Float::subtype, and UI_ITEM_R_SPLIT_EMPTY_NAME.
Referenced by node_declare().
|
static |
Definition at line 113 of file node_shader_volume_coefficients.cc.
References GPU_material_flag_set(), GPU_MATFLAG_VOLUME_ABSORPTION, GPU_MATFLAG_VOLUME_SCATTER, GPU_stack_link(), in, node_shader_gpu_volume_coefficients(), node_socket_not_black(), out, SOCK_ABSORPTION_COEFFICIENTS_ID, and SOCK_SCATTER_COEFFICIENTS_ID.
Referenced by node_shader_gpu_volume_coefficients().
|
static |
Definition at line 86 of file node_shader_volume_coefficients.cc.
References bNode::custom1, node_shader_init_coefficients(), and SHD_PHASE_HENYEY_GREENSTEIN.
Referenced by node_shader_init_coefficients().
|
static |
Definition at line 91 of file node_shader_volume_coefficients.cc.
References bNode::custom1, ELEM, bNode::inputs, LISTBASE_FOREACH, blender::bke::node_set_socket_availability(), node_shader_update_coefficients(), SHD_PHASE_DRAINE, SHD_PHASE_FOURNIER_FORAND, SHD_PHASE_HENYEY_GREENSTEIN, SHD_PHASE_MIE, and STR_ELEM.
Referenced by node_shader_update_coefficients().