Blender V5.3
gpu_shader_material_tex_sky.bsl.hh File Reference

Go to the source code of this file.

Functions

float sky_angle_between (float thetav, float phiv, float theta, float phi)
float sky_precise_angle (float3 a, float3 b)
float3 sky_spherical_coordinates (float3 dir)
float sky_perez_function (float4 lam03, float lam4, float theta, float gamma)
float3 xyY_to_xyz (float x, float y, float Y)
void node_tex_sky_preetham (float3 co, float4 config_Y03, float config_Y4, float4 config_x03, float config_x4, float4 config_y03, float config_y4, float2 sun_angles, float3 radiance, float3 xyz_to_r, float3 xyz_to_g, float3 xyz_to_b, float4 &color)
float sky_radiance_hosekwilkie (float4 config03, float4 config47, float config8, float theta, float gamma)
void node_tex_sky_hosekwilkie (float3 co, float4 config_x03, float4 config_x47, float4 config_y03, float4 config_y47, float4 config_z03, float4 config_z47, float3 config_xyz8, float2 sun_angles, float3 radiance, float3 xyz_to_r, float3 xyz_to_g, float3 xyz_to_b, float4 &color)
void node_tex_sky_nishita (float3 co, float, float sun_rotation, float3 xyz_to_r, float3 xyz_to_g, float3 xyz_to_b, float3 sun_pixel_bottom, float3 sun_pixel_top, float4 sun_params, sampler2DArray ima, float layer, float4 &color)

Function Documentation

◆ node_tex_sky_hosekwilkie()

void node_tex_sky_hosekwilkie ( float3 co,
float4 config_x03,
float4 config_x47,
float4 config_y03,
float4 config_y47,
float4 config_z03,
float4 config_z47,
float3 config_xyz8,
float2 sun_angles,
float3 radiance,
float3 xyz_to_r,
float3 xyz_to_g,
float3 xyz_to_b,
float4 & color )

◆ node_tex_sky_nishita()

void node_tex_sky_nishita ( float3 co,
float ,
float sun_rotation,
float3 xyz_to_r,
float3 xyz_to_g,
float3 xyz_to_b,
float3 sun_pixel_bottom,
float3 sun_pixel_top,
float4 sun_params,
sampler2DArray ima,
float layer,
float4 & color )

◆ node_tex_sky_preetham()

void node_tex_sky_preetham ( float3 co,
float4 config_Y03,
float config_Y4,
float4 config_x03,
float config_x4,
float4 config_y03,
float config_y4,
float2 sun_angles,
float3 radiance,
float3 xyz_to_r,
float3 xyz_to_g,
float3 xyz_to_b,
float4 & color )

◆ sky_angle_between()

◆ sky_perez_function()

◆ sky_precise_angle()

float sky_precise_angle ( float3 a,
float3 b )

Definition at line 27 of file gpu_shader_material_tex_sky.bsl.hh.

References atan, b, length(), and sky_precise_angle().

Referenced by node_tex_sky_nishita(), and sky_precise_angle().

◆ sky_radiance_hosekwilkie()

float sky_radiance_hosekwilkie ( float4 config03,
float4 config47,
float config8,
float theta,
float gamma )

◆ sky_spherical_coordinates()

◆ xyY_to_xyz()

float3 xyY_to_xyz ( float x,
float y,
float Y )

Definition at line 48 of file gpu_shader_material_tex_sky.bsl.hh.

References X, x, xyY_to_xyz(), Y, y, and Z.

Referenced by node_tex_sky_preetham(), sky_radiance_preetham(), xyY_to_xyz(), and xyY_to_xyz().