Unified KX_BlenderPolyMaterial & GPC_PolygonMaterial into KX_PolygonMaterial.

Make game engine materials use Zoffs in Materials.
Added Python material hooks.
This commit is contained in:
Kester Maddock
2005-01-16 06:02:06 +00:00
parent 5fcf39d2a5
commit 3b91ea4309
24 changed files with 703 additions and 48 deletions

View File

@@ -105,7 +105,7 @@ public:
};*/
virtual void SetDepthMask(DepthMask depthmask);
virtual void SetMaterial(const RAS_IPolyMaterial& mat);
virtual bool SetMaterial(const RAS_IPolyMaterial& mat);
virtual bool Init();
virtual void Exit();
virtual bool BeginFrame(int drawingmode, double time);
@@ -224,6 +224,7 @@ public:
float difZ,
float diffuse
);
virtual void SetPolygonOffset(float mult, float add);
};