Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 10, 2006, 2:44:18 PM (18 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc

    r7562 r7572  
    7474bool RainEffect::activate()
    7575{
    76 //   PRINTF(0)( "Enabling Rain Effect, mode: %i, density: %f, start: %f, end: %f, color %f, %f, %f\n", this->rainMode, this->rainDensity, this->rainStart, this->rainEnd, this->colorVector.x, this->colorVector.y, this->colorVector.z);
    77 //
    78 //   glEnable(GL_RAIN);
    79 //   {
    80 //     //GLfloat rainColor[4] = {0.7, 0.6, 0.6, 1.0};
    81 //     GLfloat rainColor[4] = { colorVector.x, colorVector.y, colorVector.z, 1.0};
    82 //
    83 //     glRaini(GL_RAIN_MODE, this->rainMode);
    84 //     glRainfv(GL_RAIN_COLOR, rainColor);
    85 //     glRainf(GL_RAIN_DENSITY, this->rainDensity);
    86 //     glHint(GL_RAIN_HINT, GL_DONT_CARE);
    87 //     glRainf(GL_RAIN_START, this->rainStart);
    88 //     glRainf(GL_RAIN_END, this->rainEnd);
    89 //
    90 //     //glRaini(GL_RAIN_COORDINATE_SOURCE, GL_RAIN_COORDINATE);
    91 //   }
    92 //   glClearColor(0.5, 0.5, 0.5, 1.0);
     76  PRINTF(0)("Activating Rain Effect\n");
    9377}
    9478
Note: See TracChangeset for help on using the changeset viewer.