Wireframe: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (after extensive testing I have come to the conclusion that the wireframe shader only accepts $color2 to color things.)
($color definitely works, at least on a model it does.)
Line 1: Line 1:
* Shows a wireframe with all lines being exactly one pixel thick.
* Shows a wireframe with all lines being exactly one pixel thick.
* To color it, use the [[$color2]] parameter.
* To color it, use the [[$color]] or [[$color2]] parameter.
* Accepts [[$nocull]] and probably a whole bunch of other parameters.
* Accepts [[$nocull]] and probably a whole bunch of other parameters.
* Does not require a [[$basetexture]].
* Does not require a [[$basetexture]].


[[Category:Shaders]]
[[Category:Shaders]]

Revision as of 16:56, 19 August 2020

  • Shows a wireframe with all lines being exactly one pixel thick.
  • To color it, use the $color or $color2 parameter.
  • Accepts $nocull and probably a whole bunch of other parameters.
  • Does not require a $basetexture.