Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5373 in orxonox.OLD for trunk/src/lib/graphics/importer/material.cc


Ignore:
Timestamp:
Oct 13, 2005, 12:45:13 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now the Shell's background-render pathc is in the Material

File:
1 edited

Legend:

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

    r5308 r5373  
    9191    {
    9292      glEnable(GL_BLEND);
    93       glColor4f(1.0f, 1.0f, 1.0f, this->transparency);
     93      glColor4f(*(this->diffuse), *(this->diffuse+1), *(this->diffuse+2), this->transparency);
    9494      glBlendFunc(GL_SRC_ALPHA, GL_ONE);
    9595    }
     
    9797    {
    9898      glDisable(GL_BLEND);
    99       glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
     99      glColor4f(*(this->diffuse), *(this->diffuse+1), *(this->diffuse+2), 1);
    100100    }
    101101
Note: See TracChangeset for help on using the changeset viewer.