Changeset 10339 in orxonox.OLD for branches/camera/src/world_entities
- Timestamp:
 - Jan 24, 2007, 5:23:20 PM (19 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          branches/camera/src/world_entities/blackscreen.cc (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
branches/camera/src/world_entities/blackscreen.cc
r10338 r10339 70 70 71 71 this->material = new Material(); 72 this->material->setDiffuseMap("maps/black.png"); 72 73 // this->material->setIllum(3); 73 74 // this->material->setTransparency(0.6); 74 75 //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); 76 77 // this->material->setSpecular(0.0,0.0,0.0); 77 78 // this->material->setAmbient(1, 1, 1); … … 112 113 //PRINTF(0)("axis: %f\n", axis); 113 114 glEnable(GL_BLEND); // Turn Blending On 115 //lDisable(GL_ALPHA_TEST); 114 116 115 117 //  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






