Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7057 in orxonox.OLD for trunk/src/lib/graphics/importer/material.h


Ignore:
Timestamp:
Feb 6, 2006, 3:21:49 PM (18 years ago)
Author:
bensch
Message:

Textures can now be set the glBlendFunc, and Creature-Target-Fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/material.h

    r6769 r7057  
    4646  void setTransparency (float trans);
    4747  void setTransparency (char* trans);
     48  void setBlendFunc(GLenum sFactor, GLenum tFactor) { this->sFactor = sFactor; this->tFactor = tFactor; };
    4849
    4950 // MAPPING //
     
    6364    float       shininess;        //!< The shininess of the Material.
    6465    float       transparency;     //!< The transperency of the Material.
     66    GLenum      sFactor;
     67    GLenum      tFactor;
    6568
    6669    Texture*    diffuseTexture;   //!< The diffuse texture of the Material.
Note: See TracChangeset for help on using the changeset viewer.