Committing patch #25675 "Make "Cast Buffer Shadows" option work in viewport and BGE...
[blender.git] / source / gameengine / Rasterizer / RAS_IPolygonMaterial.h
index b0e7daf81d760b72c7db1b6653c3a4aa09cb4280..2a5c6a179b61d41b02e51d2dfdff38090c93d025 100644 (file)
@@ -62,7 +62,8 @@ enum MaterialProps
        RAS_AUTOGEN             =128,
        RAS_NORMAL              =256,
        RAS_DEFMULTI    =512,
-       RAS_BLENDERGLSL =1024
+       RAS_BLENDERGLSL =1024,
+       RAS_CASTSHADOW  =2048
 };
 
 /**
@@ -169,6 +170,7 @@ public:
        virtual void            GetMaterialRGBAColor(unsigned char *rgba) const;
        virtual bool            UsesLighting(RAS_IRasterizer *rasty) const;
        virtual bool            UsesObjectColor() const;
+       virtual bool            CastsShadows() const;
 
        virtual void            Replace_IScene(SCA_IScene *val) {}; /* overridden by KX_BlenderMaterial */