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/gpu/GPU_material.h | |
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/gpu/GPU_material.h')
-rw-r--r-- | source/blender/gpu/GPU_material.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_material.h b/source/blender/gpu/GPU_material.h index 33c5d474932..7f5ae0ba2a1 100644 --- a/source/blender/gpu/GPU_material.h +++ b/source/blender/gpu/GPU_material.h @@ -225,6 +225,7 @@ GPULamp *GPU_lamp_from_blender(struct Scene *scene, struct Object *ob, struct Ob void GPU_lamp_free(struct Object *ob); int GPU_lamp_has_shadow_buffer(GPULamp *lamp); +void GPU_lamp_update_buffer_mats(GPULamp *lamp); void GPU_lamp_shadow_buffer_bind(GPULamp *lamp, float viewmat[][4], int *winsize, float winmat[][4]); void GPU_lamp_shadow_buffer_unbind(GPULamp *lamp); |