Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2012, 7:43:59 PM (11 years ago)
Author:
davidsa
Message:

Updated orxonox::LensFlare, the effect has been expanded by several layers, this needs a lot of tidying up and is only a rough implementation for demonstrative purposes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/shaders/src/orxonox/graphics/LensFlare.h

    r9461 r9464  
    135135            void createBillboards();
    136136           
    137             void updateBillboardStates(unsigned int dimension, bool isLightVisible);
     137            void updateBillboardStates(Vector3& viewDirection, unsigned int dimension, bool isLightVisible);
    138138           
    139139            void updateBillboardAlphas(float alpha);
     
    147147            unsigned int fadeResolution_;//!< how many points should be sampled per axis for the screen border fade. High number => smooth fade, but uses more processing power
    148148            float fadeExponent_;//!< this determines how fast the flare fades away as it gets obstructed
     149            //TODO: add XML port for colour manipulation
     150            ColourValue* colour_;//!< this stores the base colour of the light
    149151    };
    150152}
Note: See TracChangeset for help on using the changeset viewer.