|
Blender
V2.93
|
#include "node_shader_util.h"Go to the source code of this file.
Functions | |
| static int | gpu_shader_bump (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_bump (void) |
Variables | |
| static bNodeSocketTemplate | sh_node_bump_in [] |
| static bNodeSocketTemplate | sh_node_bump_out [] = {{SOCK_VECTOR, "Normal"}, {-1, ""}} |
|
static |
Definition at line 41 of file node_shader_bump.c.
References GPU_builtin(), GPU_constant(), GPU_link(), GPU_stack_link(), GPU_VIEW_POSITION, invert(), and node.
Referenced by register_node_type_sh_bump().
| void register_node_type_sh_bump | ( | void | ) |
Definition at line 58 of file node_shader_bump.c.
References gpu_shader_bump(), NODE_CLASS_OP_VECTOR, node_type_gpu(), node_type_socket_templates(), node_type_storage(), nodeRegisterType(), NULL, SH_NODE_BUMP, sh_node_bump_in, sh_node_bump_out, and sh_node_type_base().
Referenced by registerShaderNodes().
|
static |
Definition at line 28 of file node_shader_bump.c.
Referenced by register_node_type_sh_bump().
|
static |
Definition at line 39 of file node_shader_bump.c.
Referenced by register_node_type_sh_bump().