|
Blender V4.5
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_scatter (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_shader_init_scatter (bNodeTree *, bNode *node) |
| static void | node_shader_update_scatter (bNodeTree *ntree, bNode *node) |
| static int | node_shader_gpu_volume_scatter (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
|
static |
Definition at line 16 of file node_shader_volume_scatter.cc.
References b, BLT_I18NCONTEXT_ID_ID, blender::nodes::SocketDeclaration::description, node_declare(), PROP_FACTOR, and blender::nodes::decl::Float::subtype.
Referenced by node_declare().
|
static |
Definition at line 52 of file node_shader_volume_scatter.cc.
References node_shader_buts_scatter(), uiLayout::prop(), and UI_ITEM_R_SPLIT_EMPTY_NAME.
Referenced by node_shader_buts_scatter().
|
static |
Definition at line 84 of file node_shader_volume_scatter.cc.
References GPU_material_flag_set(), GPU_MATFLAG_VOLUME_ABSORPTION, GPU_MATFLAG_VOLUME_SCATTER, GPU_stack_link(), in, node_shader_gpu_volume_scatter(), node_socket_not_black(), node_socket_not_zero(), out, SOCK_COLOR_ID, and SOCK_DENSITY_ID.
Referenced by node_shader_gpu_volume_scatter().
|
static |
Definition at line 57 of file node_shader_volume_scatter.cc.
References bNode::custom1, node_shader_init_scatter(), and SHD_PHASE_HENYEY_GREENSTEIN.
Referenced by node_shader_init_scatter().
|
static |
Definition at line 62 of file node_shader_volume_scatter.cc.
References bNode::custom1, ELEM, bNode::inputs, LISTBASE_FOREACH, blender::bke::node_set_socket_availability(), node_shader_update_scatter(), SHD_PHASE_DRAINE, SHD_PHASE_FOURNIER_FORAND, SHD_PHASE_HENYEY_GREENSTEIN, SHD_PHASE_MIE, and STR_ELEM.
Referenced by node_shader_update_scatter().