- Timestamp:
- Jun 1, 2006, 1:18:34 PM (18 years ago)
- Location:
- branches/atmospheric_engine/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.cc
r8054 r8056 103 103 */ 104 104 105 glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);105 // glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); 106 106 107 107 this->material->setDiffuseMap("maps/lightning_bolt.png"); … … 109 109 110 110 glPushMatrix(); 111 glEnable(GL_TEXTURE_2D);111 // glEnable(GL_TEXTURE_2D); 112 112 113 glBindTexture(GL_TEXTURE_2D, texID[0]); 113 // glBindTexture(GL_TEXTURE_2D, texID[0]); 114 PRINTF(0)("Draw tralala\n"); 114 115 115 116 // FIXME : Bind this to the sky - how do I do this? -
branches/atmospheric_engine/src/story_entities/game_world.cc
r7810 r8056 526 526 GraphicsEngine* engine = GraphicsEngine::getInstance(); 527 527 528 AtmosphericEngine::getInstance()->draw();529 530 528 // set camera 531 529 this->dataTank->localCamera->apply (); … … 533 531 LightManager::getInstance()->draw(); 534 532 535 /* draw all WorldEntiy groups */ 533 AtmosphericEngine::getInstance()->draw(); 534 535 /* draw all WorldEntity groups */ 536 536 for (unsigned int i = 0; i < this->dataTank->drawLists.size(); ++i) 537 537 this->drawEntityList(State::getObjectManager()->getObjectList(this->dataTank->drawLists[i]));
Note: See TracChangeset
for help on using the changeset viewer.