Changeset 5373 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- Oct 13, 2005, 12:45:13 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/material.cc
r5308 r5373 91 91 { 92 92 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); 94 94 glBlendFunc(GL_SRC_ALPHA, GL_ONE); 95 95 } … … 97 97 { 98 98 glDisable(GL_BLEND); 99 glColor4f( 1.0f, 1.0f, 1.0f, 1.0f);99 glColor4f(*(this->diffuse), *(this->diffuse+1), *(this->diffuse+2), 1); 100 100 } 101 101
Note: See TracChangeset
for help on using the changeset viewer.