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/makesdna/DNA_lamp_types.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/makesdna/DNA_lamp_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_lamp_types.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_lamp_types.h b/source/blender/makesdna/DNA_lamp_types.h index 8cf3814ada1..4884db14c57 100644 --- a/source/blender/makesdna/DNA_lamp_types.h +++ b/source/blender/makesdna/DNA_lamp_types.h @@ -66,7 +66,7 @@ typedef struct Lamp { short pad2; float clipsta, clipend, shadspotsize; - float bias, soft, compressthresh, pad5[3]; + float bias, soft, compressthresh, bleedbias, pad5[2]; short bufsize, samp, buffers, filtertype; char bufflag, buftype; @@ -76,7 +76,7 @@ typedef struct Lamp { float area_size, area_sizey, area_sizez; float adapt_thresh; short ray_samp_method; - short pad1; + short shadowmap_type; /* texact is for buttons */ short texact, shadhalostep; @@ -96,8 +96,9 @@ typedef struct Lamp { float atm_distance_factor; float skyblendfac; float sky_exposure; + float shadow_frustum_size; /* BGE Only */ short sky_colorspace; - char pad4[6]; + char pad4[2]; struct Ipo *ipo DNA_DEPRECATED; /* old animation system, deprecated for 2.5 */ struct MTex *mtex[18]; /* MAX_MTEX */ @@ -205,6 +206,9 @@ typedef struct Lamp { #define LAMAP_COL 1 #define LAMAP_SHAD 2 +/* shadowmap_type */ +#define LA_SHADMAP_SIMPLE 0 +#define LA_SHADMAP_VARIANCE 1 #endif /* __DNA_LAMP_TYPES_H__ */ |