Blender V5.0
sky_nishita.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2020-2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
12 int stride,
13 int width,
14 int height,
15 float sun_elevation,
16 float altitude,
17 float air_density,
18 float aerosol_density,
19 float ozone_density);
20
21void SKY_single_scattering_precompute_sun(float sun_elevation,
22 float angular_diameter,
23 float altitude,
24 float air_density,
25 float aerosol_density,
26 float r_pixel_bottom[3],
27 float r_pixel_top[3]);
28
30 int stride,
31 int width,
32 int height,
33 float sun_elevation,
34 float altitude,
35 float air_density,
36 float aerosol_density,
37 float ozone_density);
38
39void SKY_multiple_scattering_precompute_sun(float sun_elevation,
40 float angular_diameter,
41 float altitude,
42 float air_density,
43 float aerosol_density,
44 float ozone_density,
45 float r_pixel_bottom[3],
46 float r_pixel_top[3]);
47
48float SKY_earth_intersection_angle(float altitude);
void SKY_multiple_scattering_precompute_texture(float *pixels, int stride, int width, int height, float sun_elevation, float altitude, float air_density, float aerosol_density, float ozone_density)
void SKY_single_scattering_precompute_sun(float sun_elevation, float angular_diameter, float altitude, float air_density, float aerosol_density, float r_pixel_bottom[3], float r_pixel_top[3])
void SKY_single_scattering_precompute_texture(float *pixels, int stride, int width, int height, float sun_elevation, float altitude, float air_density, float aerosol_density, float ozone_density)
void SKY_multiple_scattering_precompute_sun(float sun_elevation, float angular_diameter, float altitude, float air_density, float aerosol_density, float ozone_density, float r_pixel_bottom[3], float r_pixel_top[3])
float SKY_earth_intersection_angle(float altitude)