Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2006, 11:45:41 PM (19 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: basic lightening effect with billboard works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/world_entities/effects/billboard.cc

    r8026 r8050  
    6464  this->material = new Material();
    6565  this->setAbsCoor(0, 0, 0);
    66   this->setVisibiliy(true);
     66  //this->setVisibiliy(true);
    6767  this->setSize(5, 5);
    6868}
     
    140140  v.normalize();
    141141 
    142   float radius = 5;
    143   v *= .5 * sizeX;
    144   h *= .5 * sizeY;
    145  
     142  v *= sizeX;
     143  h *= sizeY;
     144
     145//v += this->getAbsCoor();
     146    //PRINTF(0)("sizeX: %f sizeY: %f\n", sizeX, sizeY);
    146147  glBegin(GL_QUADS);
    147148  glTexCoord2f(0.0f, 0.0f);
Note: See TracChangeset for help on using the changeset viewer.