diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-04-18 09:20:12 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-04-18 09:20:12 +0300 |
commit | ccb104b9c26085d799a207046edd6d38be32629b (patch) | |
tree | fbe5005935cc7b12d6ceb0708da9e2304d321a31 /source/blender/draw/engines/workbench/workbench_engine.h | |
parent | 3f762dd76409a285bc0f40df0ff8a6bae6d065b0 (diff) |
Workbench: Basic Solid Studio
Currently uses static lighting. Will become HDRI lighting.
Added do_versions to set default drawtype_solid and drawtype_texture to
OB_LIGHTING_STUDIO. When View3D space is created drawtype_solid and
drawtype_texture are also set to OB_LIGHTING_STUDIO.
Current studio lighting uses a dot product to simulate static lighting.
Will need to be changed in the future with different lighting models.
Diffstat (limited to 'source/blender/draw/engines/workbench/workbench_engine.h')
-rw-r--r-- | source/blender/draw/engines/workbench/workbench_engine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/workbench/workbench_engine.h b/source/blender/draw/engines/workbench/workbench_engine.h index 347633b83e2..306579880ca 100644 --- a/source/blender/draw/engines/workbench/workbench_engine.h +++ b/source/blender/draw/engines/workbench/workbench_engine.h @@ -27,6 +27,7 @@ #define __WORKBENCH_ENGINE_H__ extern DrawEngineType draw_engine_workbench_solid_flat; +extern DrawEngineType draw_engine_workbench_solid_studio; extern RenderEngineType DRW_engine_viewport_workbench_type; #endif /* __WORKBENCH_ENGINE_H__ */ |