mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-12 08:11:10 +02:00
44 lines
1005 B
Plaintext
44 lines
1005 B
Plaintext
//
|
|
// steam particle
|
|
//
|
|
|
|
numParticles 256
|
|
material textures/particles/smokepuff
|
|
// sphere x,y,z radius1, radius2
|
|
initialVelocity ( line, 0.0, 0.0, 0.0, 2.0, 0.0, 0 )
|
|
// the size is between 0.5 and 1.25
|
|
size ( 0.1, 1 )
|
|
randomColor ( 0.5, line, 1.0, 1.0, 2.0, 0.5, 0.5, 0.5 )
|
|
angle ( 0, 359 )
|
|
rotationSpeed ( -3, 3 )
|
|
liveforever
|
|
trailSize 2
|
|
speed 2
|
|
|
|
begin {
|
|
// when a particle dies, it will re-start with the same base velocity
|
|
copyVelocitys
|
|
|
|
// target color rgba, scale to get there
|
|
targetColor ( 0.0, 0.0, 0.0, 0.0, 0.05 )
|
|
|
|
targetSize ( 30, 0.02 )
|
|
|
|
applyDamping (0.99, 0.99, 0.99)
|
|
|
|
// allow up to 150 particles per iteration to appear in the defined plane
|
|
source ( 1.0, cylinder, 0.0, 0.0, 0.0, 1.0, 0.0, 0, 3, 0 )
|
|
|
|
// what kind of gravity force is applied to them
|
|
// gravity ( 0.0, 0.0, -0.1 )
|
|
|
|
//orbitThisLine ( 40.0, 0.0, 0.0, 60.0, 0.0, 0.0, 0.1, 0.01, 60 )
|
|
|
|
killUnseen
|
|
// killIfOlderThan 60
|
|
|
|
// run this loop
|
|
applyMathSoFar
|
|
}
|
|
|