|
Blender V4.3
|
#include "kernel/film/data_passes.h"#include "kernel/film/light_passes.h"#include "kernel/integrator/guiding.h"#include "kernel/integrator/surface_shader.h"#include "kernel/light/light.h"#include "kernel/light/sample.h"Go to the source code of this file.
| ccl_device_inline void integrate_background | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 58 of file shade_background.h.
References average(), ccl_global, film_write_background(), film_write_data_passes_background(), flag, guiding_record_background(), integrator_eval_background_shader(), INTEGRATOR_STATE, kernel_data, kernel_data_fetch, L, lamp, LIGHT_BACKGROUND, light_sample_mis_weight_forward_background(), PASSMASK, PATH_MNEE_CULL_LIGHT_CONNECTION, PATH_RAY_TRANSPARENT_BACKGROUND, path_state_ao_bounce(), render_buffer, state, and zero_spectrum.
Referenced by integrator_shade_background().
| ccl_device_inline void integrate_distant_lights | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 121 of file shade_background.h.
References AS_SHADER_DATA, ccl_global, ccl_optional_struct_init, ccl_private, distant_light_sample_from_intersection(), film_write_surface_emission(), flag, guiding_record_background(), INTEGRATOR_STATE, is_light_shader_visible_to_path(), is_zero(), kernel_data, kernel_data_fetch, lamp, light_link_light_match(), LIGHT_LINK_MASK_ALL, light_link_receiver_forward(), light_sample_mis_weight_forward_distant(), light_sample_shader_eval(), PATH_MNEE_CULL_LIGHT_CONNECTION, PATH_RAY_CAMERA, render_buffer, ShaderData, ShaderDataTinyStorage, and state.
Referenced by integrator_shade_background().
| CCL_NAMESPACE_BEGIN ccl_device Spectrum integrator_eval_background_shader | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 18 of file shade_background.h.
References AS_SHADER_DATA, ccl_private, flag, INTEGRATOR_STATE, is_light_shader_visible_to_path(), kernel_data, L, P, PATH_RAY_EMISSION, PROFILING_EVENT, PROFILING_INIT_FOR_SHADER, PROFILING_SHADE_LIGHT_EVAL, PROFILING_SHADE_LIGHT_SETUP, PROFILING_SHADER, render_buffer, shader_setup_from_background(), ShaderData, ShaderDataTinyStorage, state, surface_shader_background(), surface_shader_constant_emission(), surface_shader_eval(), and zero_spectrum.
Referenced by integrate_background().
| ccl_device void integrator_shade_background | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 180 of file shade_background.h.
References DEVICE_KERNEL_INTEGRATOR_SHADE_BACKGROUND, flag, integrate_background(), integrate_distant_lights(), integrator_path_terminate(), INTEGRATOR_STATE, INTEGRATOR_STATE_WRITE, PATH_RAY_SHADOW_CATCHER_BACKGROUND, PROFILING_INIT, PROFILING_SHADE_LIGHT_SETUP, render_buffer, and state.
Referenced by integrator_megakernel().