Blender  V3.3
Classes | Functions
blender::nodes::node_shader_tex_sky_cc Namespace Reference

Classes

struct  SkyModelPreetham
 

Functions

static void node_declare (NodeDeclarationBuilder &b)
 
static void node_shader_buts_tex_sky (uiLayout *layout, bContext *C, PointerRNA *ptr)
 
static void node_shader_init_tex_sky (bNodeTree *UNUSED(ntree), bNode *node)
 
static float sky_perez_function (const float *lam, float theta, float gamma)
 
static void sky_precompute_old (SkyModelPreetham *sunsky, const float sun_angles[], float turbidity)
 
static int node_shader_gpu_tex_sky (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 
static void node_shader_update_sky (bNodeTree *ntree, bNode *node)
 
static void node_gather_link_searches (GatherLinkSearchOpParams &params)
 

Function Documentation

◆ node_declare()

static void blender::nodes::node_shader_tex_sky_cc::node_declare ( NodeDeclarationBuilder &  b)
static

Definition at line 17 of file node_shader_tex_sky.cc.

References usdtokens::b(), and N_.

Referenced by register_node_type_sh_tex_sky().

◆ node_gather_link_searches()

static void blender::nodes::node_shader_tex_sky_cc::node_gather_link_searches ( GatherLinkSearchOpParams &  params)
static

◆ node_shader_buts_tex_sky()

static void blender::nodes::node_shader_tex_sky_cc::node_shader_buts_tex_sky ( uiLayout *  layout,
bContext *  C,
PointerRNA *  ptr 
)
static

◆ node_shader_gpu_tex_sky()

static int blender::nodes::node_shader_tex_sky_cc::node_shader_gpu_tex_sky ( GPUMaterial *  mat,
bNode *  node,
bNodeExecData *  UNUSEDexecdata,
GPUNodeStack *  in,
GPUNodeStack *  out 
)
static

◆ node_shader_init_tex_sky()

static void blender::nodes::node_shader_tex_sky_cc::node_shader_init_tex_sky ( bNodeTree *  UNUSEDntree,
bNode *  node 
)
static

◆ node_shader_update_sky()

static void blender::nodes::node_shader_tex_sky_cc::node_shader_update_sky ( bNodeTree *  ntree,
bNode *  node 
)
static

◆ sky_perez_function()

static float blender::nodes::node_shader_tex_sky_cc::sky_perez_function ( const float *  lam,
float  theta,
float  gamma 
)
static

Definition at line 91 of file node_shader_tex_sky.cc.

References cosf, and expf.

Referenced by sky_precompute_old().

◆ sky_precompute_old()

static void blender::nodes::node_shader_tex_sky_cc::sky_precompute_old ( SkyModelPreetham *  sunsky,
const float  sun_angles[],
float  turbidity 
)
static