Cable: Difference between revisions
Jump to navigation
Jump to search
Deprecated (talk | contribs) (Beginning documentation of the Cable shader) |
Deprecated (talk | contribs) (Changed to use shader and MatParam templates, added see also section) |
||
Line 1: | Line 1: | ||
{{shader|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. | |||
==Parameters== | ==Parameters== | ||
{{MatParam|[[$basetexture]]|texture|The texture for the rope. Should be very small, usually 16x16 to 64x64.}} | |||
{{MatParam|[[$bumpmap]]|texture|Bumpmap for the rope. Default <code>cable/cablenormalmap</code>.}} | |||
{{MatParam|[[$vertexcolor]]|bool|{{Todo|See [[$vertexcolor]]. Default <code>1</code>.}}}} | |||
{{MatParam|$MinLight|normal|Minimum amount of light received. Default <code>0.1</code>.}} | |||
{{MatParam|$MaxLight|normal|Maximum amount of light received. Default <code>0.3</code>.}} | |||
{{MatParam|$nocull|bool|Disables the backface culling. Default <code>1</code>.}} | |||
[[ | ==See Also== | ||
*[[SplineRope]] | |||
*[[Cables and Ropes]] |
Revision as of 15:15, 6 June 2019
Cable
It is used for ropes such as those created by the keyframe_rope
and move_rope
entities.
Parameters
[[$basetexture|$basetexture]]
[[$bumpmap|$bumpmap]]
[[$vertexcolor|$vertexcolor]]
$MinLight
$MaxLight
$nocull