forked from 0ad/0ad
Ykkrosh
8af82baf67
Support emitters that are fully running as soon as the game starts. Fix particle clumping when moving from off-screen to on-screen, by computing updates more incrementally. Fix overzealous culling of models with particle emitters. Add particles to renderer stats. This was SVN commit r9345.
26 lines
719 B
XML
26 lines
719 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<particles>
|
|
|
|
<texture>art/textures/particles/flame.png</texture>
|
|
<blend mode="add"/>
|
|
|
|
<start_full/>
|
|
|
|
<constant name="emissionrate" value="20.0"/>
|
|
<uniform name="lifetime" min="1.0" max="1.5"/>
|
|
|
|
<uniform name="angle" min="-0.5" max="0.5"/>
|
|
|
|
<uniform name="velocity.x" min="-0.3" max="0.3"/>
|
|
<uniform name="velocity.y" min="2.0" max="2.5"/>
|
|
<uniform name="velocity.z" min="-0.3" max="0.3"/>
|
|
<uniform name="velocity.angle" min="-0.5" max="0.5"/>
|
|
|
|
<uniform name="size" min="1.0" max="2.0"/>
|
|
|
|
<uniform name="color.r" min="0.8" max="1.0"/>
|
|
<copy name="color.g" from="color.r"/>
|
|
<copy name="color.b" from="color.r"/>
|
|
|
|
</particles>
|