Blender V2.61 - r43446
Functions | Variables

node_shader_bsdf_glass.c File Reference

#include "../node_shader_util.h"

Go to the source code of this file.

Functions

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

Variables

static bNodeSocketTemplate sh_node_bsdf_glass_in []
static bNodeSocketTemplate sh_node_bsdf_glass_out []

Function Documentation

static int node_shader_gpu_bsdf_glass ( GPUMaterial mat,
bNode UNUSEDnode,
GPUNodeStack in,
GPUNodeStack out 
) [static]
void register_node_type_sh_bsdf_glass ( 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, "Roughness", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_FLOAT, 1, "IOR",       1.45f, 0.0f, 0.0f, 0.0f, 1.0f, 1000.0f},
    {   -1, 0, ""   }
}

Definition at line 32 of file node_shader_bsdf_glass.c.

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

Definition at line 39 of file node_shader_bsdf_glass.c.