|
Blender V4.3
|
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 ¶ms) |
|
static |
Definition at line 25 of file node_shader_tex_sky.cc.
References b.
|
static |
Definition at line 288 of file node_shader_tex_sky.cc.
References IFACE_, blender::nodes::NodeDeclaration::outputs, params, blender::nodes::search_link_ops_for_declarations(), SOCK_FLOAT, SOCK_OUT, and tex.
|
static |
Definition at line 31 of file node_shader_tex_sky.cc.
References BKE_scene_uses_blender_eevee(), col, CTX_data_scene(), ptr, RNA_boolean_get(), RNA_enum_get(), RPT_, SHD_SKY_HOSEK, SHD_SKY_NISHITA, SHD_SKY_PREETHAM, UI_ITEM_R_SPLIT_EMPTY_NAME, uiItemL(), uiItemR(), and uiLayoutColumn().
|
static |
Definition at line 153 of file node_shader_tex_sky.cc.
References acosf, atan2f, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::config_x, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::config_Y, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::config_y, SKY_ArHosekSkyModelState::configs, float, fmodf, get_XYZ_to_RGB_for_gpu(), GPU_constant(), GPU_image_sky(), GPU_SAMPLER_EXTEND_MODE_EXTEND, GPU_SAMPLER_EXTEND_MODE_REPEAT, GPU_SAMPLER_FILTERING_LINEAR, GPU_SKY_HEIGHT, GPU_SKY_WIDTH, GPU_stack_link(), GPU_uniform(), M_PI, M_PI_2, node_shader_gpu_default_tex_coord(), node_shader_gpu_tex_mapping(), blender::threading::parallel_for(), blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::radiance, SKY_ArHosekSkyModelState::radiances, sampler(), SKY_arhosek_xyz_skymodelstate_alloc_init(), SKY_arhosekskymodelstate_free(), SKY_nishita_skymodel_precompute_texture(), sky_precompute_old(), tex, and xyz_to_rgb().
|
static |
Definition at line 71 of file node_shader_tex_sky.cc.
References BKE_texture_colormapping_default(), BKE_texture_mapping_default(), DEG2RADF, SHD_SKY_NISHITA, tex, and TEXMAP_TYPE_POINT.
|
static |
Definition at line 279 of file node_shader_tex_sky.cc.
References blender::bke::node_find_socket(), blender::bke::node_set_socket_availability(), SOCK_IN, and tex.
|
static |
Definition at line 99 of file node_shader_tex_sky.cc.
Referenced by sky_precompute_old().
|
static |
Definition at line 108 of file node_shader_tex_sky.cc.
References blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::config_x, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::config_Y, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::config_y, M_PI, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::radiance, sky_perez_function(), T, T2, and tanf.
Referenced by node_shader_gpu_tex_sky().