|
Blender
V2.93
|
#include "../node_shader_util.h"Go to the source code of this file.
Functions | |
| static void | node_shader_init_normal_map (bNodeTree *UNUSED(ntree), bNode *node) |
| static void | node_shader_exec_normal_map (void *UNUSED(data), int UNUSED(thread), bNode *UNUSED(node), bNodeExecData *UNUSED(execdata), bNodeStack **UNUSED(in), bNodeStack **UNUSED(out)) |
| static int | gpu_shader_normal_map (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_normal_map (void) |
Variables | |
| static bNodeSocketTemplate | sh_node_normal_map_in [] |
| static bNodeSocketTemplate | sh_node_normal_map_out [] |
|
static |
Definition at line 50 of file node_shader_normal_map.c.
References BLI_findlink(), CD_TANGENT, bNodeSocket::default_value, ELEM, GPU_attribute(), GPU_builtin(), GPU_constant(), GPU_link(), GPU_OBJECT_INFO, GPU_OBJECT_MATRIX, GPU_uniform(), GPU_WORLD_NORMAL, GPUNodeStack::link, node, SHD_SPACE_BLENDER_OBJECT, SHD_SPACE_BLENDER_WORLD, SHD_SPACE_OBJECT, SHD_SPACE_TANGENT, SHD_SPACE_WORLD, NodeShaderNormalMap::space, NodeShaderNormalMap::uv_map, bNodeSocketValueFloat::value, and bNodeSocketValueRGBA::value.
Referenced by register_node_type_sh_normal_map().
|
static |
Definition at line 41 of file node_shader_normal_map.c.
Referenced by register_node_type_sh_normal_map().
Definition at line 35 of file node_shader_normal_map.c.
References MEM_callocN, and node.
Referenced by register_node_type_sh_normal_map().
| void register_node_type_sh_normal_map | ( | void | ) |
Definition at line 118 of file node_shader_normal_map.c.
References gpu_shader_normal_map(), NODE_CLASS_OP_VECTOR, node_copy_standard_storage(), node_free_standard_storage(), node_shader_exec_normal_map(), node_shader_init_normal_map(), NODE_SIZE_MIDDLE, node_type_exec(), node_type_gpu(), node_type_init(), node_type_size_preset(), node_type_socket_templates(), node_type_storage(), nodeRegisterType(), NULL, SH_NODE_NORMAL_MAP, sh_node_normal_map_in, sh_node_normal_map_out, and sh_node_type_base().
Referenced by registerTextureNodes().
|
static |
Definition at line 24 of file node_shader_normal_map.c.
Referenced by register_node_type_sh_normal_map().
|
static |
Definition at line 30 of file node_shader_normal_map.c.
Referenced by register_node_type_sh_normal_map().