Difference between revisions of "SplineRope"

From Valve Developer Community
Jump to: navigation, search
(Created page with "{{stub}} '''<code>SplineRope</code>''' This VMT shader is used for rope. == Shader specific parameters == ; <code>$shadowdepth</code> {{todo|confirm categor...")
 
(Cleanup, texture parameters, engine branch information, unify with Cable shader)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{stub}}
 
{{stub}}
'''<code>SplineRope</code>'''
+
'''<code>SplineRope</code>''' is a shader introduced in {{l4d}} used for [[Cables and Ropes|ropes]] such as those created by the <code>[[keyframe_rope]]</code> and <code>[[move_rope]]</code> entities. It is used for all cable and rope materials from {{l4d}} onwards, replacing the <code>[[Cable]]</code> shader.
This VMT shader is used for [[Cables and Ropes|rope]].
 
  
== Shader specific parameters ==
+
== Parameters ==
; <code>$shadowdepth</code> {{todo|confirm category.}}
+
; <code>$basetexture <[[texture]]></code>
 +
: The texture for the rope.
 +
; <code>[[$bumpmap]] <texture></code>
 +
: Bumpmap for the rope.
 +
; <code>$shadowdepth <[[bool]]></code>  
 +
:{{todo|code says ''writing to a shadow depth buffer''}}
  
[[Category:List of Shaders]]
+
[[Category:Shaders]]
 
[[Category:Stubs]]
 
[[Category:Stubs]]

Latest revision as of 00:26, 5 May 2019

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>
To do: code says writing to a shadow depth buffer