Blender V2.61 - r43446
Functions | Variables

node_shader_normal.c File Reference

#include "node_shader_util.h"

Go to the source code of this file.

Functions

static void node_shader_init_normal (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
static void node_shader_exec_normal (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
static int gpu_shader_normal (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_normal (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate sh_node_normal_in []
static bNodeSocketTemplate sh_node_normal_out []

Detailed Description

Definition in file node_shader_normal.c.


Function Documentation

static int gpu_shader_normal ( GPUMaterial mat,
bNode node,
GPUNodeStack in,
GPUNodeStack out 
) [static]
static void node_shader_exec_normal ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
static void node_shader_init_normal ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]
void register_node_type_sh_normal ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_VECTOR, 1, "Normal",   0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f, PROP_NONE},
    {   -1, 0, ""   }
}

Definition at line 36 of file node_shader_normal.c.

Initial value:
 {
    {   SOCK_VECTOR, 0, "Normal"},
    {   SOCK_FLOAT, 0, "Dot"},
    {   -1, 0, ""   }
}

Definition at line 41 of file node_shader_normal.c.