Use bytes for internal RGBA components of Color, iterate particles sequentially in ParticleEmitters, increase limit for CPU particles, reduce size of Particle struct.

This commit is contained in:
2024-10-16 00:28:39 +02:00
parent 692fdf8ef0
commit 7c7c61fd56
7 changed files with 71 additions and 78 deletions

View File

@@ -1,14 +1,14 @@
[ParticleEmitterSettings]
MaxParticles = 8096
MaxParticles = 1024
EmitRadius = 128
Explosiveness = 1.0
LifeTime = 1.0
Direction = [0.0, 1.0]
LifeTime = 2.0
Direction = [0.0, -1.0]
LinearVelocity = 200
Gravity = [0.0, 0.0]
LinearVelocityRandom = 0.5
ScaleBegin = 1.0
ScaleEnd = 0.0
ColorBegin = [255, 0, 255, 255]
ColorEnd = [0, 0, 0, 0]
ScaleEnd = 5.0
ColorBegin = [255, 0, 0, 0]
ColorEnd = [0, 255, 0, 255]