SplineRope

From Valve Developer Community
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