Cable

From Valve Developer Community
Jump to: navigation, search

Cable is a material shader available in all Source games. It is used for ropes such as those created by the keyframe_rope and move_rope entities.

Parameters

$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 <boolean>
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 <boolean>
Disables the backface culling. Default 1.

See Also