diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-11-28 17:57:40 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-11-28 17:59:56 +0300 |
commit | 2d720f51cd786f3e0924602efb6ec89ef8ed077f (patch) | |
tree | 3b1ac1223a1c35e17e5085f99ef231273c801526 /release/scripts/startup/bl_ui/properties_material.py | |
parent | 52458ab49d40081466e369709d68c13a6a47663e (diff) |
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_material.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_material.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_material.py b/release/scripts/startup/bl_ui/properties_material.py index 5e57e267add..89c1f32ed2d 100644 --- a/release/scripts/startup/bl_ui/properties_material.py +++ b/release/scripts/startup/bl_ui/properties_material.py @@ -253,8 +253,8 @@ class MATERIAL_PT_viewport(MaterialButtonsPanel, Panel): layout.use_property_split = True col = layout.column() - col.prop(mat, "diffuse_color") - col.prop(mat, "specular_color") + col.prop(mat, "diffuse_color", text="Color") + col.prop(mat, "metallic") col.prop(mat, "roughness") |