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-11-12 02:24:10 +0300
committerMatt Ebb <matt@mke3.net>2008-11-12 02:24:10 +0300
commitbf747a30af000c024ecb9e98a295a54dd286d0b3 (patch)
tree714f9149dc9b895fe826ce9bb1eea5aafa181e67 /source/blender/makesdna/DNA_material_types.h
parent3b2f996c25e911fb6497fd45b3b4a5ab5e5609ac (diff)
* Added a button to the volume material controls 'Alpha' to generate an
alpha channel based on the volume's transmission properties, allowing you to use it in comp etc. I'd rather not have this button at all, and make it just work properly by default, however it causes problems with overlapping volumes when 'premul' is on (stoopid thing..) so for the time being, there's the button. I'll try and fix this up later on when I have more time.
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r--source/blender/makesdna/DNA_material_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h
index 66f23c7905d..f332537e9a8 100644
--- a/source/blender/makesdna/DNA_material_types.h
+++ b/source/blender/makesdna/DNA_material_types.h
@@ -359,6 +359,7 @@ typedef struct Material {
#define MA_VOL_ATTENUATED 2
#define MA_VOL_RECVSHADOW 4
#define MA_VOL_PRECACHESHADING 8
+#define MA_VOL_USEALPHA 16
/* vol_phasefunc_type */
#define MA_VOL_PH_ISOTROPIC 0