diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2014-01-27 07:28:26 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2014-03-20 10:57:49 +0400 |
commit | e02b9c8a45266993e5cefb71d55234128aca208c (patch) | |
tree | d9d29a0b6a0ee81b879c9665ce74f6370829257e /source/gameengine/Rasterizer/RAS_IPolygonMaterial.h | |
parent | 9d4b54b44fccabffeebd45c86f8e344e67327ad3 (diff) |
BGE: Adding support for the Cast Only material option.
Note: This does not add support for the option in the viewport.
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_IPolygonMaterial.h')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_IPolygonMaterial.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h b/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h index 2db71c3a2fe..14223fc59bd 100644 --- a/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h +++ b/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h @@ -61,7 +61,8 @@ enum MaterialProps RAS_NORMAL =256, RAS_DEFMULTI =512, RAS_BLENDERGLSL =1024, - RAS_CASTSHADOW =2048 + RAS_CASTSHADOW =2048, + RAS_ONLYSHADOW =4096, }; /** @@ -174,6 +175,7 @@ public: virtual bool UsesLighting(RAS_IRasterizer *rasty) const; virtual bool UsesObjectColor() const; virtual bool CastsShadows() const; + virtual bool OnlyShadow() const; virtual void Replace_IScene(SCA_IScene *val) {} /* overridden by KX_BlenderMaterial */ |