diff options
author | Ton Roosendaal <ton@blender.org> | 2006-02-12 23:21:08 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-02-12 23:21:08 +0300 |
commit | f4dc04ecbf89f48855187abfb66aeaee03b7d7c4 (patch) | |
tree | fe41cb2da9ffb322cd43a01bf38dd4de1f789533 /source/blender/makesdna/DNA_lamp_types.h | |
parent | ed2543866c01a6d45b870627555f1e98c0f02447 (diff) |
Work on shadowbuffer system... right now only new filtertypes for
sampling have been activated for UI. Check the pictures here:
http://www.blender.org/bf/filters/index2.html
I also did do tests with anti-aliased shadowbuffers:
http://www.blender.org/bf/filters/index3.html
But this needs more thinking over still...
Diffstat (limited to 'source/blender/makesdna/DNA_lamp_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_lamp_types.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_lamp_types.h b/source/blender/makesdna/DNA_lamp_types.h index 11f3d82fd8d..4a910ebf136 100644 --- a/source/blender/makesdna/DNA_lamp_types.h +++ b/source/blender/makesdna/DNA_lamp_types.h @@ -56,12 +56,12 @@ typedef struct Lamp { float haint; float att1, att2; - short bufsize, samp; float clipsta, clipend, shadspotsize; float bias, soft; + short bufsize, samp, buffers, filtertype, pad; short ray_samp, ray_sampy, ray_sampz, ray_samp_type; - short area_shape, pad; + short area_shape; float area_size, area_sizey, area_sizez; /* texact is for buttons */ @@ -72,7 +72,7 @@ typedef struct Lamp { short YF_phdepth, YF_useqmc, YF_bufsize, YF_pad; float YF_causticblur, YF_ltradius; /* yafray: glow params */ - float YF_glowint, YF_glowofs, YF_pad3; + float YF_glowint, YF_glowofs; short YF_glowtype, YF_pad2; struct MTex *mtex[10]; @@ -111,6 +111,11 @@ typedef struct Lamp { /* Since it is used with LOCAL lamp, can't use LA_SHAD */ #define LA_YF_SOFT 16384 +/* filtertype */ +#define LA_SHADBUF_BOX 0 +#define LA_SHADBUF_TENT 1 +#define LA_SHADBUF_GAUSS 2 + /* area shape */ #define LA_AREA_SQUARE 0 #define LA_AREA_RECT 1 |