Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 6, 2006, 6:34:02 PM (19 years ago)
Author:
amaechler
Message:

branches/atmospheric_engine: new cloud implementation using shaders, not yet working - wanna fix it? :) look at source and the demo mentioned there

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.h

    r8119 r8175  
    1414#include "glincl.h"
    1515
     16#include "sglmodel.h"
     17
     18class Shader;
    1619class Material;
    1720class Vector;
     
    3336                virtual void tick(float dt);
    3437
    35                 void setRadius(float radius);
    36                 void setTexture(char* fileName);
     38                // void setRadius(float radius);
     39                // void setTexture(char* fileName);
    3740
    3841
     
    4043                void initialize(char* fileName);
    4144
    42                 GLUquadricObj*                  sphereObj;              // A Placeholder for the Sphere.
     45                // GLUquadricObj*               sphereObj;              // A Placeholder for the Sphere.
    4346                Material*                       cloudMaterial;          // A Material for the Sphere.
    4447                float                           sphereRadius;           // Radius of the Sphere.
     
    5154                inline void setCloudAnimation(float speed) { this->cloudSpeed = speed; }
    5255
     56                Sglmodel_sgl g_sky_model;
     57                Shader* skyShader;
     58
     59                float g_tint[4];
     60                float g_scroll;
     61
     62                float time;
     63
     64
    5365};
    5466
Note: See TracChangeset for help on using the changeset viewer.