Changeset 10035 in orxonox.OLD for branches/playability/src/world_entities/test_entity2.cc
- Timestamp:
- Dec 9, 2006, 7:00:44 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/test_entity2.cc
r10005 r10035 88 88 89 89 this->material->setDiffuseMap("maps/TE2.tga"); 90 90 91 } 91 92 … … 126 127 127 128 129 glEnable(GL_BLEND); 130 glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); 131 glShadeModel(GL_FLAT); 132 glClearColor(0.0, 0.0, 0.0, 0.0); 133 128 134 glEnable(GL_TEXTURE_2D); 129 135 this->material->select(); … … 186 192 glEnd(); 187 193 194 /* 188 195 glBegin(GL_QUADS);// -X 189 196 glTexCoord2f (0.0, 0.0); … … 238 245 glVertex3f( -0.5f, 0.5f, 0.0f ); 239 246 // glNormal3f(0.0, 0.0, -1.0); 240 glEnd(); 247 glEnd();*/ 241 248 242 249 glPopMatrix();
Note: See TracChangeset
for help on using the changeset viewer.