Browse Source

won't need that any more after this

Azaezel 9 years ago
parent
commit
e475b3060b

+ 0 - 6
Engine/source/materials/materialDefinition.cpp

@@ -210,9 +210,6 @@ Material::Material()
    
    mDirectSoundOcclusion = 1.f;
    mReverbSoundOcclusion = 1.0;
-
-   // Deferred Shading
-   mIsSky = false;
 }
 
 void Material::initPersistFields()
@@ -420,9 +417,6 @@ void Material::initPersistFields()
    addField("dynamicCubemap", TypeBool, Offset(mDynamicCubemap, Material),
       "Enables the material to use the dynamic cubemap from the ShapeBase object its applied to." );
 
-   addField("isSky", TypeBool, Offset(mIsSky, Material),
-       "Sky support. Alters draw dimensions." );
-
    addGroup( "Behavioral" );
 
       addField( "showFootprints", TypeBool, Offset( mShowFootprints, Material ),

+ 0 - 1
Engine/source/materials/materialDefinition.h

@@ -295,7 +295,6 @@ public:
    bool mDynamicCubemap;
 
    // Deferred Shading
-   bool mIsSky;
    F32 mMatInfoFlags[MAX_STAGES];
    bool mTranslucent;   
    BlendOp mTranslucentBlendOp;