Changeset 9466 for code/branches/shaders/src/orxonox/graphics/LensFlare.h
- Timestamp:
- Nov 26, 2012, 3:58:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/shaders/src/orxonox/graphics/LensFlare.h
r9464 r9466 135 135 void createBillboards(); 136 136 137 void updateBillboardStates(Vector3& viewDirection, unsigned int dimension, bool isLightVisible);137 void updateBillboardStates(Vector3& viewDirection, float dimension, bool isLightVisible); 138 138 139 139 void updateBillboardAlphas(float alpha); 140 140 141 unsigned int getPointCount( unsigned int dimension) const;141 unsigned int getPointCount(float dimension) const; 142 142 143 143 Billboard* occlusionBillboard_;//!< this is a transparent billboard used solely for the Hardware Occlusion Query 144 unsigned int cameraDistance_;//!< current distance of the lensflare center from the camera144 float cameraDistance_;//!< current distance of the lensflare center from the camera 145 145 float scale_;//!< this factor is used to scale the billboard to the desired size 146 146 bool fadeOnViewBorder_;//!< should the effect fade out on the border of the view?
Note: See TracChangeset
for help on using the changeset viewer.