Difference between revisions of "Particle System Renderers"

From Valve Developer Community
Jump to: navigation, search
m (Robot: Automated text replacement (-\{\|\r +{| class=standard-table))
Line 17: Line 17:
 
== render_sprite_trail ==
 
== render_sprite_trail ==
 
Renders animated sprites with trails based on their velocity.
 
Renders animated sprites with trails based on their velocity.
 +
 +
== render_rope ==
 +
Renders all particles in the system into one continuous "rope", the smoothness can be adjusted by changing texel_size and subdivision_count. Killing particles will cause the rope to instantly flick to adjust the rope to remain continuous, so random lifetimes and continuous emitters can look poor, depending on the effect.

Revision as of 05:45, 25 July 2009

render_animated_sprites

Renders animated sprites of varying orientations.

Parameter Description
animation rate Rate at which to animate particles (???).
orientation_type Various orientation types
  • 0 - Billboarded (always face camera)
  • 1 - Fix Z and rotate along X and Y
  • 2 - Fix X and Y and rotate along Z (always face up)


render_sprite_trail

Renders animated sprites with trails based on their velocity.

render_rope

Renders all particles in the system into one continuous "rope", the smoothness can be adjusted by changing texel_size and subdivision_count. Killing particles will cause the rope to instantly flick to adjust the rope to remain continuous, so random lifetimes and continuous emitters can look poor, depending on the effect.