SplineRope

From Valve Developer Community
Revision as of 17:26, 4 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 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