Blender Git Commit Log

Git Commits -> Revision 2d720f5

Revision 2d720f5 by Clément Foucault (master)
November 28, 2018, 14:59 (GMT)
Workbench: Change Studio lighting

This is in order to have more flexible ligthing presets in the future.
The diffuse lighting from hdris was nice but lacked the corresponding
specular information. This is an attempt to make it possible to customize
the lighting and have a cheap/easy/nice-looking pseudo-PBR workflow.

* Add cheap PBR to Workbench with fresnel and better roughness support.
This improves the look of the metallic surfaces and is easier to control.
* Add ambient light to studio lights settings: just a constant color added
to the shading.
* Add Smooth option to studio lights settings: This option fakes the
effect of making the light bigger making the lighting smoother for this
light. Smoother lights gets reflected like a background hdri.
* Change default light settings to include the smooth params.
* Remove specular highlights from flat shading. (could be added back but
how do we make it good looking?)
* If specular lighting is disabled, use base color without using metallic.
* Include a lot of code simplification/cleanup/confusion fix.

Commit Details:

Full Hash: 2d720f51cd786f3e0924602efb6ec89ef8ed077f
Parent Commit: 52458ab
Lines Changed: +266, -171

16 Modified Paths:

/release/scripts/startup/bl_ui/properties_material.py (+2, -2) (Diff)
/release/scripts/startup/bl_ui/space_userpref.py (+7, -4) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+7, -6) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+11, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+16, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_data_lib.glsl (+4, -2) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_deferred_composite_frag.glsl (+22, -35) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_forward_transparent_accum_frag.glsl (+12, -21) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_world_light_lib.glsl (+104, -42) (Diff)
/source/blender/draw/engines/workbench/workbench_data.c (+40, -21) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+0, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+0, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+13, -24) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+6, -7) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+19, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021