This article's documentation is for anything that uses the Source engine. Click here for more information.

Cable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(formatting)
Line 1: Line 1:
{{lang}}
{{languageBar}}
{{this is a|pixel shader|name=Cable}} It is used for [[Cables and Ropes|ropes]] such as those created by the <code>[[keyframe_rope]]</code> and <code>[[move_rope]]</code> entities.
{{this is a|pixel shader|name=Cable}} It is used for [[Cables and Ropes|ropes]] such as those created by the {{ent|keyframe_rope|alt=keyframe_rope/move_rope}} entities.
==Parameters==
==Parameters==
{{MatParam|$basetexture|texture|The [[diffuse]] texture for the rope.<br>Should be very small, usually 16x16 to 64x64.}}
{{MatParam|$basetexture|texture|The [[diffuse]] texture for the rope.<br>Should be very small, usually 16x16 to 64x64.}}
Line 10: Line 10:


==See also==
==See also==
*[[SplineRope]]
* [[SplineRope]]
*[[Cables and Ropes]]
* [[Cables and Ropes]]

Revision as of 10:32, 28 May 2025

English (en)Translate (Translate)

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

Parameters

$basetexture $bumpmap $vertexcolor $MinLight $MaxLight $nocull

See also