mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 06:53:00 +02:00
add weather box
This commit is contained in:
parent
dcb346fffb
commit
d54c177a5f
1 changed files with 6 additions and 6 deletions
|
@ -32,9 +32,9 @@ function createNode(position) {
|
||||||
position: position,
|
position: position,
|
||||||
dimensions: sphereDimensions,
|
dimensions: sphereDimensions,
|
||||||
color: {
|
color: {
|
||||||
red: 128,
|
red: 10,
|
||||||
green: 128,
|
green: randInt(100, 150),
|
||||||
blue: 128
|
blue: 10
|
||||||
},
|
},
|
||||||
lifetime: 3600, // 1 hour; just in case,
|
lifetime: 3600, // 1 hour; just in case,
|
||||||
collisionsWillMove: true
|
collisionsWillMove: true
|
||||||
|
@ -46,8 +46,8 @@ function createNode(position) {
|
||||||
"position": position,
|
"position": position,
|
||||||
parentID: sphere,
|
parentID: sphere,
|
||||||
"isEmitting": true,
|
"isEmitting": true,
|
||||||
"maxParticles": 1000,
|
"maxParticles": 10000,
|
||||||
"lifespan": 5,
|
"lifespan": 2,
|
||||||
"emitRate": 1000,
|
"emitRate": 1000,
|
||||||
"emitSpeed": 0.025,
|
"emitSpeed": 0.025,
|
||||||
"speedSpread": 0,
|
"speedSpread": 0,
|
||||||
|
@ -72,7 +72,7 @@ function createNode(position) {
|
||||||
"blue": 255
|
"blue": 255
|
||||||
},
|
},
|
||||||
color: {
|
color: {
|
||||||
red: 10, green: 10, blue: 200
|
red: 100, green: 100, blue: 200
|
||||||
},
|
},
|
||||||
"colorFinish": {
|
"colorFinish": {
|
||||||
"red": 200,
|
"red": 200,
|
||||||
|
|
Loading…
Reference in a new issue