Blender V2.61 - r43446
Functions | Variables

node_shader_tex_noise.c File Reference

#include "../node_shader_util.h"

Go to the source code of this file.

Functions

static void node_shader_init_tex_noise (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
static int node_shader_gpu_tex_noise (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_tex_noise (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate sh_node_tex_noise_in []
static bNodeSocketTemplate sh_node_tex_noise_out []

Function Documentation

static int node_shader_gpu_tex_noise ( GPUMaterial mat,
bNode node,
GPUNodeStack in,
GPUNodeStack out 
) [static]
static void node_shader_init_tex_noise ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]
void register_node_type_sh_tex_noise ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_VECTOR, 1, "Vector",    0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_NONE, SOCK_HIDE_VALUE},
    {   SOCK_FLOAT, 1, "Scale",      5.0f, 0.0f, 0.0f, 0.0f, -1000.0f, 1000.0f},
    {   SOCK_FLOAT, 1, "Detail",     2.0f, 0.0f, 0.0f, 0.0f, 0.0f, 16.0f},
    {   SOCK_FLOAT, 1, "Distortion", 0.0f, 0.0f, 0.0f, 0.0f, -1000.0f, 1000.0f},
    {   -1, 0, ""   }
}

Definition at line 32 of file node_shader_tex_noise.c.

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

Definition at line 40 of file node_shader_tex_noise.c.