|
Blender V5.0
|
#include "kernel/globals.h"#include "kernel/camera/projection.h"#include "kernel/integrator/displacement_shader.h"#include "kernel/integrator/surface_shader.h"#include "kernel/integrator/volume_shader.h"#include "kernel/geom/object.h"#include "kernel/geom/shader_data.h"#include "kernel/util/colorspace.h"Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device void | kernel_displace_evaluate (KernelGlobals kg, const ccl_global KernelShaderEvalInput *input, ccl_global float *output, const int offset) |
| ccl_device void | kernel_background_evaluate (KernelGlobals kg, const ccl_global KernelShaderEvalInput *input, ccl_global float *output, const int offset) |
| ccl_device void | kernel_curve_shadow_transparency_evaluate (KernelGlobals kg, const ccl_global KernelShaderEvalInput *input, ccl_global float *output, const int offset) |
| ccl_device void | kernel_volume_density_evaluate (KernelGlobals kg, ccl_global const KernelShaderEvalInput *input, ccl_global float *output, const int offset) |
| ccl_device void kernel_background_evaluate | ( | KernelGlobals | kg, |
| const ccl_global KernelShaderEvalInput * | input, | ||
| ccl_global float * | output, | ||
| const int | offset ) |
Definition at line 55 of file kernel/bake/bake.h.
References ccl_device, ccl_global, ensure_finite(), equirectangular_to_direction(), in, input, INTEGRATOR_STATE_NULL, isfinite_safe(), kernel_assert, KERNEL_FEATURE_NODE_LIGHT_PATH, KERNEL_FEATURE_NODE_MASK_SURFACE_LIGHT, KERNEL_FEATURE_NODE_RAYTRACE, output, PATH_RAY_EMISSION, PATH_RAY_IMPORTANCE_BAKE, shader_setup_from_background(), spectrum_to_rgb(), surface_shader_background(), surface_shader_eval(), float3::x, float3::y, float3::z, and zero_float3().
Referenced by shader_eval_background().
| ccl_device void kernel_curve_shadow_transparency_evaluate | ( | KernelGlobals | kg, |
| const ccl_global KernelShaderEvalInput * | input, | ||
| ccl_global float * | output, | ||
| const int | offset ) |
Definition at line 96 of file kernel/bake/bake.h.
References __float_as_int, average(), ccl_device, ccl_global, clamp(), in, input, INTEGRATOR_STATE_NULL, KERNEL_FEATURE_NODE_LIGHT_PATH, KERNEL_FEATURE_NODE_MASK_SURFACE_SHADOW, KERNEL_FEATURE_NODE_RAYTRACE, output, PATH_RAY_SHADOW, surface_shader_eval(), and surface_shader_transparency().
Referenced by shader_eval_curve_shadow_transparency().
| CCL_NAMESPACE_BEGIN ccl_device void kernel_displace_evaluate | ( | KernelGlobals | kg, |
| const ccl_global KernelShaderEvalInput * | input, | ||
| ccl_global float * | output, | ||
| const int | offset ) |
Definition at line 21 of file kernel/bake/bake.h.
References ccl_device, ccl_global, D, displacement_shader_eval(), ensure_finite(), in, input, INTEGRATOR_STATE_NULL, isfinite_safe(), kernel_assert, object_inverse_dir_transform(), output, P, and shader_setup_from_displace().
Referenced by shader_eval_displace().
| ccl_device void kernel_volume_density_evaluate | ( | KernelGlobals | kg, |
| ccl_global const KernelShaderEvalInput * | input, | ||
| ccl_global float * | output, | ||
| const int | offset ) |
Definition at line 119 of file kernel/bake/bake.h.
References __int_as_float, ccl_device, ccl_global, Ray::D, FLT_MAX, fmaxf, in, input, INTEGRATOR_STATE_NULL, kernel_data_fetch, KERNEL_FEATURE_NODE_LIGHT_PATH, KERNEL_FEATURE_NODE_MASK_VOLUME, lcg_state_init(), make_float3(), make_uint3(), Extrema< T >::max, merge(), Extrema< T >::min, object_fetch_transform(), OBJECT_TRANSFORM, object_volume_density(), output, Ray::P, PATH_RAY_CAMERA, PRNG_BAKE_VOLUME_DENSITY_EVAL, reduce_max(), sample, SD_IS_VOLUME_SHADER_EVAL, SD_OBJECT_TRANSFORM_APPLIED, SHADER_NONE, sobol_burley_sample_3D(), Ray::time, Ray::tmin, Transform, transform_point(), uint3::x, uint3::y, uint3::z, and zero_float3().
Referenced by shader_eval_volume_density().