Blender V2.61 - r43446
Functions | Variables

node_shader_emission.c File Reference

#include "../node_shader_util.h"

Go to the source code of this file.

Functions

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

Variables

static bNodeSocketTemplate sh_node_emission_in []
static bNodeSocketTemplate sh_node_emission_out []

Function Documentation

static int node_shader_gpu_emission ( GPUMaterial mat,
bNode UNUSEDnode,
GPUNodeStack in,
GPUNodeStack out 
) [static]

Definition at line 43 of file node_shader_emission.c.

References GPU_builtin(), GPU_stack_link(), and GPU_VIEW_NORMAL.

Referenced by register_node_type_sh_emission().

void register_node_type_sh_emission ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_RGBA, 1, "Color",      0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
    {   SOCK_FLOAT, 1, "Strength",  1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1000000.0f},
    {   -1, 0, ""   }
}

Definition at line 32 of file node_shader_emission.c.

Initial value:
 {
    {   SOCK_SHADER, 0, "Emission"},
    {   -1, 0, ""   }
}

Definition at line 38 of file node_shader_emission.c.