diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-06-09 19:45:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-06-09 19:45:46 +0400 |
commit | f39758cddca1d6eeec299e8cd3eef9a2a1852e32 (patch) | |
tree | f0fea31777404174be524ab6feca2f30ec05bf99 /source/blender/makesdna | |
parent | 610b877f60083ef064058efc7011a5b35c5e96b7 (diff) |
adding clip alpha (binary alpha) to the 3D view and game engine.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_meshdata_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index 79c1710a897..a717df640f1 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -229,14 +229,16 @@ typedef struct PartialVisibility { #define TF_SHADOW 8192 #define TF_BMFONT 16384 -/* mtface->transp */ +/* mtface->transp, values 1-4 are used as flags in the GL, WARNING, TF_SUB cant work with this */ #define TF_SOLID 0 #define TF_ADD 1 #define TF_ALPHA 2 +#define TF_CLIP 4 /* clipmap alpha/binary alpha all or nothing! */ /* sub is not available in the user interface anymore */ #define TF_SUB 3 + /* mtface->unwrap */ #define TF_DEPRECATED1 1 #define TF_DEPRECATED2 2 |