Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8648 in orxonox.OLD for branches/terrain/src/world_entities


Ignore:
Timestamp:
Jun 20, 2006, 8:44:18 PM (19 years ago)
Author:
ponder
Message:

Disabled depth test for the skybox. Its not necessary. And this way we make sure, that the sky is always
behind everything

Location:
branches/terrain/src/world_entities
Files:
2 edited

Legend:

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

    r8548 r8648  
    3636  this->setFovy(60.0);
    3737  this->setAspectRatio(1.2f);
    38   this->setClipRegion( .1, 80.0f );
     38  this->setClipRegion( .1, 40.0f );
    3939
    4040  this->setViewMode(Camera::ViewNormal);
     
    8383{
    8484  this->nearClip = nearClip;
    85   this->farClip = farClip;
     85  this->farClip = 400.0f;//farClip;
    8686}
    8787
  • branches/terrain/src/world_entities/skybox.cc

    r8037 r8648  
    230230//   glPushAttrib(GL_LIGHTING_BIT);
    231231  glDisable(GL_LIGHTING);
    232 
     232  glDisable( GL_DEPTH_TEST );   
    233233  glDisable(GL_FOG);
    234234
Note: See TracChangeset for help on using the changeset viewer.