Blender V4.3
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 *, 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 *, 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 25 of file node_shader_tex_sky.cc.

References b.

◆ 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()

◆ node_shader_init_tex_sky()

static void blender::nodes::node_shader_tex_sky_cc::node_shader_init_tex_sky ( bNodeTree * ,
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 99 of file node_shader_tex_sky.cc.

References cosf, and expf.

Referenced by sky_precompute_old().

◆ sky_precompute_old()