Blender V2.61 - r43446
Functions | Variables

node_shader_layer_weight.c File Reference

#include "../node_shader_util.h"

Go to the source code of this file.

Functions

static int node_shader_gpu_layer_weight (GPUMaterial *UNUSED(mat), bNode *UNUSED(node), GPUNodeStack *UNUSED(in), GPUNodeStack *UNUSED(out))
void register_node_type_sh_layer_weight (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate sh_node_layer_weight_in []
static bNodeSocketTemplate sh_node_layer_weight_out []

Function Documentation

static int node_shader_gpu_layer_weight ( GPUMaterial UNUSEDmat,
bNode UNUSEDnode,
GPUNodeStack UNUSEDin,
GPUNodeStack UNUSEDout 
) [static]

Definition at line 43 of file node_shader_layer_weight.c.

Referenced by register_node_type_sh_layer_weight().

void register_node_type_sh_layer_weight ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_FLOAT, 1, "Blend",     0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   -1, 0, ""   }
}

Definition at line 32 of file node_shader_layer_weight.c.

Initial value:
 {
    {   SOCK_FLOAT, 0, "Fresnel",   0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_FLOAT, 0, "Facing",    0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   -1, 0, ""   }
}

Definition at line 37 of file node_shader_layer_weight.c.