Changeset 3088 in orxonox.OLD for orxonox/branches
- Timestamp:
- Dec 4, 2004, 10:42:55 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/images/importer/material.cc
r3087 r3088 83 83 setDiffuse(0,0,0); 84 84 setAmbient(0,0,0); 85 setSpecular( 0,0,0);85 setSpecular(.5,.5,.5); 86 86 setShininess(2.0); 87 87 setTransparency(0.0); … … 147 147 if (diffuseTextureSet) 148 148 glBindTexture(GL_TEXTURE_2D, diffuseTexture); 149 else 150 glBindTexture(GL_TEXTURE_2D, 0); 149 151 150 152 } … … 403 405 404 406 /* Linear Filtering */ 405 glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR ); 407 glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR ); 406 408 glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR ); 407 409 if ( map ) … … 484 486 free(pImage); // Free the image structure 485 487 } 486 488 return true; 487 489 } 488 490
Note: See TracChangeset
for help on using the changeset viewer.