7 #include "PackedDiffuseMaterial.h"
11 #include "ICallback.h"
12 #include "InteriorsStencilMirrorType.h"
13 #include "InteriorsRenderableLayer.h"
27 const static u32 MirrorStencilRef = 0x08;
30 const Rendering::TMaterialId materialId,
31 const std::string& name,
34 bool useAlternativeAmbient,
36 const v4& diffuseColor,
37 InteriorsRenderableLayer::Type renderableLayer
42 virtual const Rendering::TMaterialId GetId()
const {
return m_id; }
44 virtual const std::string& GetName()
const {
return m_name; }
48 virtual bool IsUsingAlternativeAmbient()
const {
return m_useAlternativeAmbient; }
50 virtual bool IsTranslucent()
const {
return m_isTranslucent; }
52 virtual v4 GetDiffuseColor()
const {
return m_diffuseColor; }
54 virtual InteriorsRenderableLayer::Type GetRenderableLayer()
const {
return m_renderableLayer; }
60 virtual v4 GetModulatedDiffuseColor(
const v4& renderableColor)
const;
69 const Rendering::TMaterialId m_id;
70 const std::string m_name;
75 const bool m_useAlternativeAmbient;
76 const bool m_isTranslucent;
77 const v4 m_diffuseColor;
78 const InteriorsRenderableLayer::Type m_renderableLayer;