Blender  V2.93
Functions | Variables
node_shader_subsurface_scattering.c File Reference
#include "../node_shader_util.h"

Go to the source code of this file.

Functions

static void node_shader_init_subsurface_scattering (bNodeTree *UNUSED(ntree), bNode *node)
 
static int node_shader_gpu_subsurface_scattering (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 
static void node_shader_update_subsurface_scattering (bNodeTree *UNUSED(ntree), bNode *node)
 
void register_node_type_sh_subsurface_scattering (void)
 

Variables

static bNodeSocketTemplate sh_node_subsurface_scattering_in []
 
static bNodeSocketTemplate sh_node_subsurface_scattering_out []
 

Function Documentation

◆ node_shader_gpu_subsurface_scattering()

static int node_shader_gpu_subsurface_scattering ( GPUMaterial mat,
bNode node,
bNodeExecData UNUSEDexecdata,
GPUNodeStack in,
GPUNodeStack out 
)
static

◆ node_shader_init_subsurface_scattering()

static void node_shader_init_subsurface_scattering ( bNodeTree UNUSEDntree,
bNode node 
)
static

◆ node_shader_update_subsurface_scattering()

static void node_shader_update_subsurface_scattering ( bNodeTree UNUSEDntree,
bNode node 
)
static

◆ register_node_type_sh_subsurface_scattering()

void register_node_type_sh_subsurface_scattering ( void  )

Variable Documentation

◆ sh_node_subsurface_scattering_in

bNodeSocketTemplate sh_node_subsurface_scattering_in[]
static
Initial value:
= {
{SOCK_RGBA, N_("Color"), 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
{SOCK_FLOAT, N_("Scale"), 1.0, 0.0f, 0.0f, 0.0f, 0.0f, 1000.0f},
{SOCK_VECTOR, N_("Radius"), 1.0f, 0.2f, 0.1f, 0.0f, 0.0f, 100.0f, PROP_NONE, SOCK_COMPACT},
{SOCK_FLOAT, N_("Sharpness"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR},
{SOCK_FLOAT, N_("Texture Blur"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR},
{SOCK_VECTOR, N_("Normal"), 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f, PROP_NONE, SOCK_HIDE_VALUE},
{-1, ""},
}
#define N_(msgid)
@ SOCK_HIDE_VALUE
@ SOCK_COMPACT
@ SOCK_VECTOR
@ SOCK_FLOAT
@ SOCK_RGBA
@ PROP_NONE
Definition: RNA_types.h:113
@ PROP_FACTOR
Definition: RNA_types.h:131

Definition at line 24 of file node_shader_subsurface_scattering.c.

Referenced by register_node_type_sh_subsurface_scattering().

◆ sh_node_subsurface_scattering_out

bNodeSocketTemplate sh_node_subsurface_scattering_out[]
static
Initial value:
= {
{SOCK_SHADER, N_("BSSRDF")},
{-1, ""},
}
@ SOCK_SHADER

Definition at line 34 of file node_shader_subsurface_scattering.c.

Referenced by register_node_type_sh_subsurface_scattering().