Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 26, 2006, 6:47:01 PM (18 years ago)
Author:
patrick
Message:

network: adding a billboard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/graphics/effects/lense_flare.cc

    r6776 r6779  
    2323
    2424#include "glincl.h"
    25 
     25#include "texture.h"
    2626
    2727
     
    5858  GraphicsEffect::loadParams(root);
    5959
    60 //    LoadParam(root, "fog-effect", this, LenseFlare, setFogMode)
    61 //        .describe("sets the the fog mode {GL_LINEAR, GL_EXP, GL_EXP2}");
     60    LoadParam(root, "add-flare-texture", this, LenseFlare, addFlare)
     61        .describe("adds a lensflare texture to the engine");
    6262
    6363}
     
    9898{}
    9999
     100
     101/**
     102 * adds a texture flare
     103 * @param textureName the name of the flare texture
     104 */
     105void addFlare(const char* textureName)
     106{
     107  Texture* texture = new Texture (textureName, GL_TEXTURE);
     108
     109
     110}
     111
     112
Note: See TracChangeset for help on using the changeset viewer.