Blender V4.3
DNA_lightprobe_defaults.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11/* clang-format off */
12
13/* -------------------------------------------------------------------- */
17#define _DNA_DEFAULT_LightProbe \
18 { \
19 .grid_resolution_x = 4, \
20 .grid_resolution_y = 4, \
21 .grid_resolution_z = 4, \
22 .grid_bake_samples = 2048, \
23 .grid_surface_bias = 0.05, \
24 .grid_escape_bias = 0.1, \
25 .grid_normal_bias = 0.3f, \
26 .grid_view_bias = 0.0f, \
27 .grid_facing_bias = 0.5f, \
28 .grid_validity_threshold = 0.40f, \
29 .grid_dilation_threshold = 0.5f, \
30 .grid_dilation_radius = 1.0f, \
31 .grid_clamp_direct = 0.0f, \
32 .grid_clamp_indirect = 10.0f, \
33 .grid_surfel_density = 20, \
34 .distinf = 2.5f, \
35 .distpar = 2.5f, \
36 .falloff = 0.2f, \
37 .clipsta = 0.8f, \
38 .clipend = 20.0f, \
39 .vis_bias = 1.0f, \
40 .vis_blur = 0.2f, \
41 .intensity = 1.0f, \
42 .flag = LIGHTPROBE_FLAG_SHOW_INFLUENCE, \
43 .grid_flag = LIGHTPROBE_GRID_CAPTURE_INDIRECT | LIGHTPROBE_GRID_CAPTURE_EMISSION, \
44 .data_display_size = 0.1f, \
45 }
46
49/* clang-format on */