diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-24 14:22:13 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-24 14:37:02 +0300 |
commit | dd4a2682216c6e2380dbef3ca256e322ebaa6ab1 (patch) | |
tree | c4cb6a273ef1afa25e08444c4df466555fb38973 /source/blender/blenkernel/BKE_studiolight.h | |
parent | 419434a1ad5f004313d523cf2ddce512ed8803a2 (diff) |
Viewport: add more contrast to default studio light, make it default again
It's closer to the default matcap now, but slightly less metallic and dark. The
reason to use studio lights as default is because the roughness and metallic
parameters of the material then have an effect, and because Texture color mode
does not work for matcaps.
Diffstat (limited to 'source/blender/blenkernel/BKE_studiolight.h')
-rw-r--r-- | source/blender/blenkernel/BKE_studiolight.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_studiolight.h b/source/blender/blenkernel/BKE_studiolight.h index 3586c08547c..d6fff528348 100644 --- a/source/blender/blenkernel/BKE_studiolight.h +++ b/source/blender/blenkernel/BKE_studiolight.h @@ -131,6 +131,7 @@ typedef struct StudioLight { void BKE_studiolight_init(void); void BKE_studiolight_free(void); +void BKE_studiolight_default(SolidLight lights[4], float light_ambient[4]); struct StudioLight *BKE_studiolight_find(const char *name, int flag); struct StudioLight *BKE_studiolight_findindex(int index, int flag); struct StudioLight *BKE_studiolight_find_default(int flag); |