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

$softwareskin: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{stub}} {{This is a|s2|name=$softwareskin}} It disables vertex compression, which can sometimes affect the normals of high-poly models.")
 
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{stub}}
{{this is a|shader parameter|name=$softwareskin}}
{{This is a|s2|name=$softwareskin}}
 
It disables vertex compression, which can sometimes affect the normals of high-poly models.
[[File:Hw_vs_sw_skin.png|thumb|500px|Comparison of vertex compression on vs off on a high poly mesh.]]
When enabled, this parameter disables vertex compression. Useful on high poly smooth objects, which suffer noticeable artifacts with vertex compression on.
 
{{note|[[Flex]]es are not supported with software skinning.}}
{{warning|This comes at a performance penalty. Hardware acceleration is disabled, so use this sparingly, especially on high poly models.}}
[[Category:Shader parameters|s]]

Latest revision as of 19:23, 19 May 2024

$softwareskin is a material shader parameter available in all Source Source games.

Comparison of vertex compression on vs off on a high poly mesh.

When enabled, this parameter disables vertex compression. Useful on high poly smooth objects, which suffer noticeable artifacts with vertex compression on.

Note.pngNote:Flexes are not supported with software skinning.
Warning.pngWarning:This comes at a performance penalty. Hardware acceleration is disabled, so use this sparingly, especially on high poly models.