SpriteCard: Difference between revisions
Deprecated (talk | contribs) (SpriteCard rewrite, reorganized parameters and added a load of undocumented parameters from newer engine branches) |
GeneralEcchi (talk | contribs) m (→Orientation) |
||
Line 30: | Line 30: | ||
=== Orientation === | === Orientation === | ||
{{MatParam|$orientation|int|0 {{=}} always face camera, 1 {{=}} rotate around z, 2 {{=}} parallel to ground}} | {{MatParam|$orientation|int|0 {{=}} always face camera, 1 {{=}} rotate around z, 2 {{=}} parallel to ground, 3 {{=}} parallel to control point's surface}} | ||
{{MatParam|$orientationmatrix|matrix|Matrix used to orient in orientation mode 2.|since={{l4d}}}} | {{MatParam|$orientationmatrix|matrix|Matrix used to orient in orientation mode 2.|since={{l4d}}}} | ||
{{MatParam|$aimatcamera|bool|Aim at camera using orientation mode 1.|only={{csgo}}}} | {{MatParam|$aimatcamera|bool|Aim at camera using orientation mode 1.|only={{csgo}}}} |
Revision as of 16:03, 24 November 2022
SpriteCard
It is for sprite cards that are used with Source's particle system. It supports the unusual animation frame storage of Source's particles (see Animated Particles).
Parameters
Distance and Size
$minsize
$maxsize
$minfadesize
$maxfadesize
$maxdistance
$farfadeinterval
Blending
$blendframes
$dualsequence
$sequence_blend_mode
$maxlumframeblend1
$zoomanimateseq2
$addoverblend
$addself
$addbasetexture2
Depth
$depthblend
$depthblendscale
$inversedepthblend
$scenedepth
Orientation
$orientation
$orientationmatrix
$aimatcamera
Appearance
$alpha
$translucent
[[$nocull|$nocull]]
$overbrightfactor
$ramptexture
[[$mod2x|$mod2x]]
$opaque
$muloutputbyalpha
$intensity
Vertex Colors
[[$vertexcolor|$vertexcolor]]
[[$vertexalpha|$vertexalpha]]
$vertexcolorlerp
$lerpcolor1
$lerpcolor2
$vertexfogamount
Misc
$extractgreenalpha
$splinetype
$useinstancing
$alphatrailfade
$radiustrailfade
$shadowdepth
$cropfactor
$distancealpha
[[$distancealpha|$distancealpha]]
$softedges
$edgesoftnessstart
$edgesoftnessend
$outline
$outlinecolor
$outlinealpha
$outlinestart0
$outlinestart1
$outlineend0
$outlineend1
$perparticleoutline