diff options
author | Daniel Stokes <kupomail@gmail.com> | 2012-05-01 06:50:17 +0400 |
---|---|---|
committer | Daniel Stokes <kupomail@gmail.com> | 2012-05-01 06:50:17 +0400 |
commit | ae4fda82b026ae6e2b003c1105f329b7e76582b0 (patch) | |
tree | 1dfe2a3f3e1dd3dabe22c51a96ffdc07575f1bc5 /source/blender/blenkernel/intern/lamp.c | |
parent | 7cb037db8628c0522fb8c143d461e2054b616771 (diff) |
Merging phase 1 of the BGE Harmony branch:
* Shadow color now usable in the BGE
* Simplified the shadow panel while "Blender Game" renderer is active
* Added variance shadow maps for the BGE
* Buffered shadows on sun lamps in the BGE (orthographic)
* Light textures in the BGE
Diffstat (limited to 'source/blender/blenkernel/intern/lamp.c')
-rw-r--r-- | source/blender/blenkernel/intern/lamp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/lamp.c b/source/blender/blenkernel/intern/lamp.c index e981d772df6..11c3269ad37 100644 --- a/source/blender/blenkernel/intern/lamp.c +++ b/source/blender/blenkernel/intern/lamp.c @@ -96,6 +96,7 @@ void *add_lamp(const char *name) la->skyblendfac= 1.0f; la->sky_colorspace= BLI_XYZ_CIE; la->sky_exposure= 1.0f; + la->shadow_frustum_size= 10.0f; curvemapping_initialize(la->curfalloff); return la; |