Particle System Renderers: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 25: Line 25:


== render_blobs ==
== render_blobs ==
[[File:Render blobs.png|thumb|render_blobs + [[Constrain particles to a box]]]]


{{2009 add}} Renders particles as blobs of liquid. This is the effect used by [[Portal 2]]'s paint. The material used should be opaque, and ideally have [[$phong]] enabled.
{{2009 add}} Renders particles as blobs of liquid. This is the effect used by [[Portal 2]]'s paint. The material used should be opaque, and ideally have [[$phong]] enabled.
Line 31: Line 33:


{{2009 add}} Renders 3D models instead of particles.
{{2009 add}} Renders 3D models instead of particles.
== render_project ==
{{2009 add}} Unknown. Draws [[env_projectedtexture|projected textures]]?

Revision as of 05:50, 7 November 2010

render_animated_sprites

Renders animated sprites of varying orientations.

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)
orientation_control_point
This would let you use a cp to set orientation but it doesnt work at all in the orangebox version

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. 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?