Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2008-10-13 10:46:23 +0400
committerMatt Ebb <matt@mke3.net>2008-10-13 10:46:23 +0400
commit51d51991e59f98e7cff3a035d5ba3a142f1ed7e0 (patch)
tree188053ba993aa33c59375b6288a56e91d7be4aa8 /source/blender/makesdna/DNA_material_types.h
parentd6808c2b4b9d53f5481e96d4041e67b20f1d56f0 (diff)
* Added support for solid objects casting shadows within a volume.
Currently it only supports solid shadows - if it's a solid object, it will cast 100% shadow. Support for transparent shadows can potentially be added down the track. http://mke3.net/blender/devel/rendering/volumetrics/vol_shad_internal.jpg
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r--source/blender/makesdna/DNA_material_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h
index 86de34e5d26..7b6e945dfbf 100644
--- a/source/blender/makesdna/DNA_material_types.h
+++ b/source/blender/makesdna/DNA_material_types.h
@@ -356,7 +356,7 @@ typedef struct Material {
/* vol_shadeflag */
#define MA_VOL_SHADED 1
#define MA_VOL_ATTENUATED 2
-#define MA_VOL_SHADOWED 4
+#define MA_VOL_RECVSHADOW 4
/* vol_phasefunc_type */
#define MA_VOL_PH_ISOTROPIC 0