diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-05-11 17:55:14 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-05-11 18:02:13 +0300 |
commit | d3c4248946f65d287f18b3d6488cd450dfb6d81d (patch) | |
tree | 47ed70266631c5e40cf221031d84315d85f27983 /source/blender/draw/DRW_engine.h | |
parent | 68b736ce248fbfc6eacfa2fed4f677523087accb (diff) |
Workbench: StudioLight HDRI's
The Studio lights are now loaded from disk. The location is
`datafiles/studiolights` they need to be JPG for now. JPG cannot store
HDRI color range but they are clamped inside the Workbench
engine for speed reason. I didn't select JP2K as it might not be
enabled.
Users can add upto 20 HDRI files. This limitation is inside the
RNA_space.c Currently the icons are calculated when you first open the
selection box for the HDRI's. We could add them to a background
rendering later.
I added 2 test files a sky texture rendered in Cycles and an HDRI from
cloud.blender.org.
Diffstat (limited to 'source/blender/draw/DRW_engine.h')
-rw-r--r-- | source/blender/draw/DRW_engine.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/DRW_engine.h b/source/blender/draw/DRW_engine.h index a1a2a36e75a..524a94e5886 100644 --- a/source/blender/draw/DRW_engine.h +++ b/source/blender/draw/DRW_engine.h @@ -135,5 +135,4 @@ void DRW_opengl_context_disable(void); void DRW_deferred_shader_remove(struct GPUMaterial *mat); -uint *WORKBENCH_generate_studiolight_preview(int studiolight_id, int icon_size); #endif /* __DRW_ENGINE_H__ */ |