mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:17:45 +02:00
tweaks
This commit is contained in:
parent
0a6a35ddd8
commit
769a5ecca9
1 changed files with 13 additions and 13 deletions
|
@ -176,9 +176,9 @@
|
||||||
maxParticles: 10000,
|
maxParticles: 10000,
|
||||||
lifetime: 20,
|
lifetime: 20,
|
||||||
lifespan: randFloat(1.5, 3),
|
lifespan: randFloat(1.5, 3),
|
||||||
emitRate: randInt(500, 3000),
|
emitRate: randInt(500, 10000),
|
||||||
emitSpeed: randFloat(0.5, 2),
|
emitSpeed: randFloat(0.5, 2),
|
||||||
speedSpread: 1.0,
|
speedSpread: 0.2,
|
||||||
emitOrientation: Quat.fromPitchYawRollDegrees(randInt(0, 360), randInt(0, 360), randInt(0, 360)),
|
emitOrientation: Quat.fromPitchYawRollDegrees(randInt(0, 360), randInt(0, 360), randInt(0, 360)),
|
||||||
polarStart: 1,
|
polarStart: 1,
|
||||||
polarFinish: randFloat(1.2, 3),
|
polarFinish: randFloat(1.2, 3),
|
||||||
|
@ -186,22 +186,22 @@
|
||||||
azimuthFinish: Math.PI,
|
azimuthFinish: Math.PI,
|
||||||
emitAcceleration: {
|
emitAcceleration: {
|
||||||
x: 0,
|
x: 0,
|
||||||
y: -0.7,
|
y: randFloat(-1, -0.2),
|
||||||
z: 0
|
z: 0
|
||||||
},
|
},
|
||||||
accelerationSpread: {
|
accelerationSpread: {
|
||||||
x: 0,
|
x: Math.random(),
|
||||||
y: 0,
|
y: 0,
|
||||||
z: 0
|
z: Math.random()
|
||||||
},
|
},
|
||||||
particleRadius: 0.04,
|
particleRadius: randFloat(0.001, 0.1),
|
||||||
radiusSpread: 0,
|
radiusSpread: Math.random() * 0.1,
|
||||||
radiusStart: 0.06,
|
radiusStart: randFloat(0.001, 0.1),
|
||||||
radiusFinish: 0.05,
|
radiusFinish: randFloat(0.001, 0.1),
|
||||||
alpha: 1,
|
alpha: Math.random(),
|
||||||
alphaSpread: 0,
|
alphaSpread: Math.random(),
|
||||||
alphaStart: 0,
|
alphaStart: Math.random(),
|
||||||
alphaFinish: 0,
|
alphaFinish: Math.random(),
|
||||||
textures: "http://ericrius1.github.io/PlatosCave/assets/star.png",
|
textures: "http://ericrius1.github.io/PlatosCave/assets/star.png",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue