Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Ketsji/KX_BlenderMaterial.h
| Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Lines | private: | ||||
| KX_Scene* mScene; | KX_Scene* mScene; | ||||
| BL_Texture mTextures[MAXTEX]; // texture array | BL_Texture mTextures[MAXTEX]; // texture array | ||||
| bool mUserDefBlend; | bool mUserDefBlend; | ||||
| unsigned int mBlendFunc[2]; | unsigned int mBlendFunc[2]; | ||||
| bool mModified; | bool mModified; | ||||
| bool mConstructed; // if false, don't clean on exit | bool mConstructed; // if false, don't clean on exit | ||||
| int mLightLayer; | int mLightLayer; | ||||
| struct { | |||||
| float r, g, b, a; | |||||
| float specr, specg, specb; | |||||
| float spec; | |||||
| float ref; | |||||
| float hardness; | |||||
| float emit; | |||||
| } mSavedData; | |||||
| void InitTextures(); | void InitTextures(); | ||||
| void SetBlenderGLSLShader(); | void SetBlenderGLSLShader(); | ||||
| void ActivatGLMaterials( RAS_IRasterizer* rasty )const; | void ActivatGLMaterials( RAS_IRasterizer* rasty )const; | ||||
| void ActivateTexGen( RAS_IRasterizer *ras ) const; | void ActivateTexGen( RAS_IRasterizer *ras ) const; | ||||
| bool UsesLighting(RAS_IRasterizer *rasty) const; | bool UsesLighting(RAS_IRasterizer *rasty) const; | ||||
| Show All 26 Lines | |||||