Wireframe: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (after extensive testing I have come to the conclusion that the wireframe shader only accepts $color2 to color things.)
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 [[$color]] parameter.
* To color it, use the [[$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 15:24, 31 July 2020

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