Blender Git Loki
Git Commits -> Revision ccb104b
Revision ccb104b by Jeroen Bakker (master) April 18, 2018, 06:20 (GMT) |
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. |
Commit Details:
Full Hash: ccb104b9c26085d799a207046edd6d38be32629b
Parent Commit: 3f762dd
Lines Changed: +202, -8
3 Added Paths:
/source/blender/draw/engines/workbench/shaders/solid_studio_frag.glsl (+11, -0) (View)
/source/blender/draw/engines/workbench/shaders/workbench_studio_vert.glsl (+14, -0) (View)
/source/blender/draw/engines/workbench/solid_studio_mode.c (+149, -0) (View)
/source/blender/draw/engines/workbench/shaders/workbench_studio_vert.glsl (+14, -0) (View)
/source/blender/draw/engines/workbench/solid_studio_mode.c (+149, -0) (View)
7 Modified Paths:
/source/blender/blenloader/intern/versioning_280.c (+18, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+3, -0) (Diff)
/source/blender/draw/engines/workbench/solid_flat_mode.c (+0, -6) (Diff)
/source/blender/draw/engines/workbench/workbench_engine.h (+1, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+0, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+4, -0) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+2, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+3, -0) (Diff)
/source/blender/draw/engines/workbench/solid_flat_mode.c (+0, -6) (Diff)
/source/blender/draw/engines/workbench/workbench_engine.h (+1, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+0, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+4, -0) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+2, -0) (Diff)