From Valve Developer Community
Revision as of 00:26, 5 May 2019 by Deprecated (talk | contribs) (Beginning documentation of the Cable shader)

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

Cable is the shader used for ropes such as those created by the keyframe_rope and move_rope entities.


$basetexture <texture>
The texture for the rope. Should be very small, usually 16x16 to 64x64.
$bumpmap <texture>
Bumpmap for the rope. Default cable/cablenormalmap.
$vertexcolor <bool>
To do: See $vertexcolor. Default 1.
$MinLight <normal>
Minimum amount of light received. Default 0.1.
$MaxLight <normal>
Maximum amount of light received. Default 0.3.
$nocull <bool>
Disables the backface culling. Default 1.