|
Blender V4.3
|
Go to the source code of this file.
| ccl_device float3 geographical_to_direction | ( | float | lat, |
| float | lon ) |
Definition at line 115 of file sky.h.
References cosf, make_float3(), and sinf.
Referenced by sky_radiance_nishita().
| CCL_NAMESPACE_BEGIN ccl_device float sky_angle_between | ( | float | thetav, |
| float | phiv, | ||
| float | theta, | ||
| float | phi ) |
Definition at line 11 of file sky.h.
References cosf, safe_acosf(), and sinf.
Referenced by sky_radiance_hosek(), and sky_radiance_preetham().
| ccl_device float sky_perez_function | ( | ccl_private float * | lam, |
| float | theta, | ||
| float | gamma ) |
Definition at line 21 of file sky.h.
Referenced by sky_radiance_preetham().
| ccl_device float3 sky_radiance_hosek | ( | KernelGlobals | kg, |
| float3 | dir, | ||
| float | sunphi, | ||
| float | suntheta, | ||
| float | radiance_x, | ||
| float | radiance_y, | ||
| float | radiance_z, | ||
| ccl_private float * | config_x, | ||
| ccl_private float * | config_y, | ||
| ccl_private float * | config_z ) |
Definition at line 83 of file sky.h.
References direction_to_spherical(), M_2PI_F, M_PI_2_F, make_float3(), min, sky_angle_between(), sky_radiance_internal(), xyz_to_rgb_clamped(), and z().
Referenced by svm_node_tex_sky().
| ccl_device float sky_radiance_internal | ( | ccl_private float * | configuration, |
| float | theta, | ||
| float | gamma ) |
| ccl_device float3 sky_radiance_nishita | ( | KernelGlobals | kg, |
| float3 | dir, | ||
| uint32_t | path_flag, | ||
| float3 | pixel_bottom, | ||
| float3 | pixel_top, | ||
| ccl_private float * | nishita_data, | ||
| uint | texture_id ) |
Definition at line 120 of file sky.h.
References direction_to_spherical(), fade(), float4_to_float3(), geographical_to_direction(), interp(), kernel_data, kernel_tex_image_interp(), M_2PI_F, M_PI_2_F, M_PI_F, make_float3(), PATH_RAY_IMPORTANCE_BAKE, precise_angle(), safe_sqrtf(), sqr(), sqrtf, xyz_to_rgb_clamped(), y, and float3::z.
Referenced by svm_node_tex_sky().
| ccl_device float3 sky_radiance_preetham | ( | KernelGlobals | kg, |
| float3 | dir, | ||
| float | sunphi, | ||
| float | suntheta, | ||
| float | radiance_x, | ||
| float | radiance_y, | ||
| float | radiance_z, | ||
| ccl_private float * | config_x, | ||
| ccl_private float * | config_y, | ||
| ccl_private float * | config_z ) |
Definition at line 30 of file sky.h.
References direction_to_spherical(), M_PI_2_F, min, sky_angle_between(), sky_perez_function(), xyY_to_xyz(), xyz_to_rgb_clamped(), and Y.
Referenced by svm_node_tex_sky().
| ccl_device_noinline int svm_node_tex_sky | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| uint32_t | path_flag, | ||
| ccl_private float * | stack, | ||
| uint4 | node, | ||
| int | offset ) |
Definition at line 205 of file sky.h.
References __float_as_uint, make_float3(), read_node_float(), sky_radiance_hosek(), sky_radiance_nishita(), sky_radiance_preetham(), stack_load_float3(), stack_store_float3(), float3::x, float3::y, and float3::z.
Referenced by svm_eval_nodes().