Changeset 6799 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Jan 27, 2006, 4:16:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/material.cc
r6763 r6799 112 112 glEnable(GL_BLEND); 113 113 glBlendFunc(GL_SRC_ALPHA, GL_ONE); 114 glColor4f(*(this->diffuse), *(this->diffuse+1), *(this->diffuse+2), this->transparency);114 //glColor4f(*(this->diffuse), *(this->diffuse+1), *(this->diffuse+2), this->transparency); 115 115 } 116 116 else 117 117 { 118 118 glDisable(GL_BLEND); 119 glColor4f(*(this->diffuse), *(this->diffuse+1), *(this->diffuse+2), 1);119 //glColor4f(*(this->diffuse), *(this->diffuse+1), *(this->diffuse+2), 1); 120 120 } 121 121
Note: See TracChangeset
for help on using the changeset viewer.