Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10339 in orxonox.OLD


Ignore:
Timestamp:
Jan 24, 2007, 5:23:20 PM (17 years ago)
Author:
gfilip
Message:

blackscreen works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camera/src/world_entities/blackscreen.cc

    r10338 r10339  
    7070
    7171  this->material = new Material();
     72  this->material->setDiffuseMap("maps/black.png");
    7273 // this->material->setIllum(3);
    7374 // this->material->setTransparency(0.6);
    7475  //this->material->setDiffuse(0,0,0);
    75   //this->material->setBlendFuncS("GL_SORCE_APLHA", "GL_ZERO");
     76  this->material->setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    7677 // this->material->setSpecular(0.0,0.0,0.0);
    7778 // this->material->setAmbient(1, 1, 1);
     
    112113//PRINTF(0)("axis: %f\n", axis);
    113114glEnable(GL_BLEND);     // Turn Blending On
     115//lDisable(GL_ALPHA_TEST);
    114116
    115117//
Note: See TracChangeset for help on using the changeset viewer.