SplineRope

From Valve Developer Community
Revision as of 00:26, 5 May 2019 by Deprecated (talk | contribs) (Cleanup, texture parameters, engine branch information, unify with Cable shader)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SplineRope is a shader introduced in <Left 4 Dead> used for ropes such as those created by the keyframe_rope and move_rope entities. It is used for all cable and rope materials from <Left 4 Dead> onwards, replacing the Cable shader.

Parameters

$basetexture <texture>
The texture for the rope.
$bumpmap <texture>
Bumpmap for the rope.
$shadowdepth <bool>
To do: code says writing to a shadow depth buffer