|
Blender V5.3
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_scatter (ui::Layout &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 22 of file node_shader_volume_scatter.cc.
References b, BLT_I18NCONTEXT_ID_ID, blender::nodes::SocketDeclaration::description, blender::bNodeTree::flag, blender::nodes::SocketDeclaration::make_available(), node, node_declare(), blender::NTREE_IS_GPU_SHADER_INTERNAL, blender::PROP_FACTOR, blender::SHD_PHASE_DRAINE, blender::SHD_PHASE_FOURNIER_FORAND, blender::SHD_PHASE_HENYEY_GREENSTEIN, blender::SHD_PHASE_MIE, and blender::nodes::decl::Float::subtype.
Referenced by node_declare().
|
static |
Definition at line 69 of file node_shader_volume_scatter.cc.
References blender::ui::ITEM_R_SPLIT_EMPTY_NAME, node_shader_buts_scatter(), and blender::ui::Layout::prop().
Referenced by node_shader_buts_scatter().
|
static |
Definition at line 100 of file node_shader_volume_scatter.cc.
References blender::GPU_kernel_globals(), blender::GPU_material_flag_set(), blender::GPU_MATFLAG_VOLUME_ABSORPTION, blender::GPU_MATFLAG_VOLUME_SCATTER, blender::GPU_shading_data(), blender::GPU_stack_link(), blender::gpu::shader::metadata::in, node, node_shader_gpu_volume_scatter(), blender::gpu::shader::metadata::out, SOCK_COLOR_ID, and SOCK_DENSITY_ID.
Referenced by node_shader_gpu_volume_scatter().
|
static |
Definition at line 74 of file node_shader_volume_scatter.cc.
References node, node_shader_init_scatter(), and blender::SHD_PHASE_HENYEY_GREENSTEIN.
Referenced by node_shader_init_scatter().
|
static |
Definition at line 79 of file node_shader_volume_scatter.cc.
References ELEM, blender::bNodeSocket::name, node, blender::bke::node_set_socket_availability(), node_shader_update_scatter(), blender::SHD_PHASE_DRAINE, blender::SHD_PHASE_FOURNIER_FORAND, blender::SHD_PHASE_HENYEY_GREENSTEIN, blender::SHD_PHASE_MIE, and STR_ELEM.
Referenced by node_shader_update_scatter().