Particle System Renderers

From Valve Developer Community
Revision as of 02:18, 26 May 2011 by Kalich1992 (talk | contribs)
Jump to navigation Jump to search

Template:Otherlang2

render_animated_sprites

Renders animated sprites of varying orientations.

animation rate
Rate at which to animate particles. Normally this is in seconds (???), however if "Use animation rate as FPS" is set to 1, it will use tics as it's animation rate instead.
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)
orientation_control_point
This would let you use a cp to set orientation but it doesnt work at all in the orangebox version
use animation rate as fps
Flag that indicates whether the animation should be in seconds (???) or tics (normal FPS rate).

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.

render_screen_velocity_rotate

Unknown.

render_sprite_trail

Renders animated sprites with trails based on their velocity.

render_blobs

Template:2009 add Renders particles as blobs of liquid. This is the effect used by Portal 2's paint, or at least is very similar to it.

The material used should be opaque, and ideally have $phong enabled.

render_models

Template:2009 add Renders 3D models instead of particles.

render_project

Template:2009 add Unknown. Draws projected textures?