"Lightening" particle bugg fixed. Scale and alpha interpolation implemented through ScalarInterpolation-funtion

This commit is contained in:
Stiffly
2015-10-13 15:22:11 +02:00
parent d4c79e338c
commit 94cac38cc6
6 changed files with 835 additions and 781 deletions
+4
View File
@@ -22,6 +22,10 @@ struct ParticleEmitter : public Component
float Speed = 2.f;
double LifeTime = 100;
//values to interpolate between.
std::vector<float> RadiusValues;
std::vector<float> AlphaValues;
//System variables
float GravityScale = 1.0f;
};