diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-06-15 01:53:11 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-06-15 01:57:16 +0300 |
commit | f2d7a28a0984bfebda21c07e9508313f0d92610c (patch) | |
tree | 283f13417d15b852ec3d78660ebca6324b99bedc /source/blender/blenkernel/intern/lightprobe.c | |
parent | f5203e6cba27d8b0ed132fabe7c13866167000f0 (diff) |
Probes: Modify Add Menu and change defaults.
Diffstat (limited to 'source/blender/blenkernel/intern/lightprobe.c')
-rw-r--r-- | source/blender/blenkernel/intern/lightprobe.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/lightprobe.c b/source/blender/blenkernel/intern/lightprobe.c index 97e1ff2733e..a1fa266512b 100644 --- a/source/blender/blenkernel/intern/lightprobe.c +++ b/source/blender/blenkernel/intern/lightprobe.c @@ -45,12 +45,14 @@ void BKE_lightprobe_init(LightProbe *probe) BLI_assert(MEMCMP_STRUCT_OFS_IS_ZERO(probe, id)); probe->grid_resolution_x = probe->grid_resolution_y = probe->grid_resolution_z = 4; - probe->distinf = 5.0f; - probe->distpar = 5.0f; + probe->distinf = 2.5f; + probe->distpar = 2.5f; probe->falloff = 0.2f; - probe->clipsta = 1.0f; + probe->clipsta = 0.8f; probe->clipend = 40.0f; probe->data_draw_size = 1.0f; + + probe->flag = LIGHTPROBE_FLAG_SHOW_INFLUENCE | LIGHTPROBE_FLAG_SHOW_DATA; } void *BKE_lightprobe_add(Main *bmain, const char *name) |