Workbench: Add Shadow Focus and change Shadow Orientation
authorClément Foucault <foucault.clem@gmail.com>
Fri, 30 Nov 2018 12:26:30 +0000 (13:26 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Fri, 30 Nov 2018 14:40:57 +0000 (15:40 +0100)
commite68c0bf76a4ccb16f51b7caf488c2f345552eea9
treefc5ec8d69b1f33445f2b8aff0639384bcb4ae758
parentdabd6615cc0ecbb82f52415e81c734ad041f7598
Workbench: Add Shadow Focus and change Shadow Orientation

Shadow focus let the user choose how hard are is the shadows transition.
Harder shadow transition can be used for stylistic effects or more uniform
shading.

Make shadow orientation respect the same orientation as the studio light
(view from +Y direction aka. front view). Make the default shadow direction
more similar to the default light position (the default light object, not
the default studio lighting).
release/scripts/startup/bl_ui/space_view3d.py
source/blender/blenkernel/intern/scene.c
source/blender/blenloader/intern/versioning_280.c
source/blender/blenloader/intern/versioning_defaults.c
source/blender/draw/engines/workbench/shaders/workbench_deferred_composite_frag.glsl
source/blender/draw/engines/workbench/workbench_data.c
source/blender/draw/engines/workbench/workbench_deferred.c
source/blender/makesdna/DNA_scene_types.h
source/blender/makesrna/intern/rna_scene.c