Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Goers <mega@osirion.org>2012-01-21 03:19:55 +0000
committerEvan Goers <mega@osirion.org>2012-01-21 03:19:55 +0000
commitd702c133c06cd9626430263292df69b092954c5f (patch)
treef0f206edef1e3c3fdddf16a63947d938cc17d86b /src/model/material.h
parent8090b641248e41334c76c5fead274f01d7d287a2 (diff)
Add a 'decal' macro material flag. Material flag 'Decal' enables polygon offsetting and alpha testing on the surface.
Diffstat (limited to 'src/model/material.h')
-rw-r--r--src/model/material.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/material.h b/src/model/material.h
index 1674e46..b128954 100644
--- a/src/model/material.h
+++ b/src/model/material.h
@@ -24,7 +24,7 @@ public:
typedef void(* LoaderFuncPtr)(Material *);
/// surface flags
- enum SurfaceFlags { None = 0, Primary = 1, Secondary = 2, Tertiary = 3, Bright = 4, Engine = 8, Environment = 16, Texture = 32, Ignore = 64, Clip = 128, Origin = 256};
+ enum SurfaceFlags { None = 0, Primary = 1, Secondary = 2, Tertiary = 3, Bright = 4, Engine = 8, Environment = 16, Texture = 32, Ignore = 64, Clip = 128, Origin = 256, Decal = 512 };
/// type definition for the material registry
typedef std::map<std::string, Material *> Registry;