SplineRope

From Valve Developer Community
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

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>
Todo: code says writing to a shadow depth buffer