FTE: Improve performance of Fire and Explosives

This commit is contained in:
cypress 2023-12-04 10:48:01 -05:00 committed by GitHub
parent 9337bbcd1a
commit 1ea2912a00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 11 deletions

View file

@ -2,16 +2,16 @@ r_part flame_particle
{
texture "particles/flame.tga"
tcoords 0 0 256 256 256
die 2
die 1.5
scalefactor 1
scale 24
alpha 0.10
alpha 0.25
scaledelta 50
alphadelta -0.15
rgb 255 255 255
gravity -12
spawnorg 2
spawnorg 8
spawnmode circle
rotation 250 250
count 12
count 6
blend premul_add
}

View file

@ -70,15 +70,14 @@ r_part +explode
die 2
scalefactor 1
scale 256
alpha 0.25
alphadelta -0.15
alpha 0.5
gravity -16
rgb 150 150 150
randomvel 64
spawnmode ball
spawnorg 96
count 32
blend add
blend premul_add
}
r_part +explode
@ -88,13 +87,12 @@ r_part +explode
die 2
scalefactor 1
scale 256
alpha 0.25
alphadelta -0.15
alpha 0.5
gravity -16
rgb 150 50 0
randomvel 64
spawnmode ball
spawnorg 96
count 16
blend add
blend premul_add
}