|
Blender V5.0
|
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 void | sky_simplify_multiscatter_elevation_rotation (float &sun_elevation, float &sun_rotation) |
| 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 23 of file node_shader_tex_sky.cc.
References b.
|
static |
Definition at line 335 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, bNode::storage, and NodeTexSky::sun_disc.
|
static |
Definition at line 29 of file node_shader_tex_sky.cc.
References BKE_scene_uses_blender_eevee(), C, col, uiLayout::column(), CTX_data_scene(), uiLayout::label(), uiLayout::prop(), ptr, RNA_boolean_get(), RNA_enum_get(), RPT_, SHD_SKY_HOSEK, SHD_SKY_PREETHAM, and UI_ITEM_R_SPLIT_EMPTY_NAME.
|
static |
Definition at line 183 of file node_shader_tex_sky.cc.
References acosf, NodeTexSky::aerosol_density, NodeTexSky::air_density, NodeTexSky::altitude, 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, blender::Array< T, InlineBufferCapacity, Allocator >::data(), 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(), NodeTexSky::ground_albedo, i, in, M_PI, M_PI_2, node_shader_gpu_default_tex_coord(), node_shader_gpu_tex_mapping(), out, NodeTexSky::ozone_density, blender::nodes::node_shader_tex_sky_cc::SkyModelPreetham::radiance, SKY_ArHosekSkyModelState::radiances, SHD_SKY_HOSEK, SHD_SKY_PREETHAM, SHD_SKY_SINGLE_SCATTERING, SKY_arhosek_xyz_skymodelstate_alloc_init(), SKY_arhosekskymodelstate_free(), NodeTexSky::sky_model, SKY_multiple_scattering_precompute_texture(), sky_precompute_old(), sky_simplify_multiscatter_elevation_rotation(), SKY_single_scattering_precompute_texture(), bNode::storage, NodeTexSky::sun_direction, NodeTexSky::sun_elevation, NodeTexSky::sun_rotation, NodeTexSky::turbidity, and xyz_to_rgb().
|
static |
Definition at line 69 of file node_shader_tex_sky.cc.
References NodeTexSky::aerosol_density, NodeTexSky::air_density, NodeTexSky::altitude, NodeTexSky::base, BKE_texture_colormapping_default(), BKE_texture_mapping_default(), NodeTexBase::color_mapping, DEG2RADF, NodeTexSky::ground_albedo, MEM_callocN(), NodeTexSky::ozone_density, SHD_SKY_MULTIPLE_SCATTERING, NodeTexSky::sky_model, bNode::storage, NodeTexSky::sun_direction, NodeTexSky::sun_disc, NodeTexSky::sun_elevation, NodeTexSky::sun_intensity, NodeTexSky::sun_rotation, NodeTexSky::sun_size, NodeTexBase::tex_mapping, TEXMAP_TYPE_POINT, and NodeTexSky::turbidity.
|
static |
Definition at line 323 of file node_shader_tex_sky.cc.
References ELEM, blender::bke::node_find_socket(), blender::bke::node_set_socket_availability(), SHD_SKY_MULTIPLE_SCATTERING, SHD_SKY_SINGLE_SCATTERING, NodeTexSky::sky_model, SOCK_IN, bNode::storage, and NodeTexSky::sun_disc.
|
static |
Definition at line 97 of file node_shader_tex_sky.cc.
Referenced by sky_precompute_old().
|
static |
Definition at line 106 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().
|
static |
Definition at line 151 of file node_shader_tex_sky.cc.
References copysignf, fabsf, fmodf, and M_PI.
Referenced by node_shader_gpu_tex_sky().