mirror of
https://github.com/glest/glest-source.git
synced 2025-08-17 21:51:17 +02:00
teamcolor TGAs / more particles / better snow
This commit is contained in:
@@ -370,7 +370,6 @@ void UnitParticleSystem::initParticle(Particle *p, int particleIndex){
|
|||||||
float y= cosf(ang)*mod;
|
float y= cosf(ang)*mod;
|
||||||
|
|
||||||
float radRatio= sqrtf(sqrtf(mod/radius));
|
float radRatio= sqrtf(sqrtf(mod/radius));
|
||||||
float rad=degToRad(rotation);
|
|
||||||
|
|
||||||
//p->color= color*0.5f + color*0.5f*radRatio;
|
//p->color= color*0.5f + color*0.5f*radRatio;
|
||||||
p->color=color;
|
p->color=color;
|
||||||
@@ -512,7 +511,7 @@ SnowParticleSystem::SnowParticleSystem(int particleCount):ParticleSystem(particl
|
|||||||
setEmissionRate(2);
|
setEmissionRate(2);
|
||||||
setParticleSize(0.2f);
|
setParticleSize(0.2f);
|
||||||
setColor(Vec4f(0.8f, 0.8f, 0.8f, 0.8f));
|
setColor(Vec4f(0.8f, 0.8f, 0.8f, 0.8f));
|
||||||
setSpeed(0.025f);
|
setSpeed(0.05f);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SnowParticleSystem::initParticle(Particle *p, int particleIndex){
|
void SnowParticleSystem::initParticle(Particle *p, int particleIndex){
|
||||||
|
Reference in New Issue
Block a user