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

Teeth

From Valve Developer Community
Revision as of 09:05, 4 January 2025 by Breakin' Benny (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)
Mouth is closed
Mouth is slightly open
Mouth is open

Teeth is a Pixel shader available in all Source Source games. It is a shader for teeth that is used to dynamically adjust the brightness of the teeth based on how open the mouth is.

Note.pngNote:This shader is likely obsolete, as Valve hasn't used it for any of their recent games. Instead, they include teeth on their facemaps, using the shader VertexLitGeneric.

Parameters

$basetexture $halflambert

$clientshader "MouthShader"
Todo: What does this actually do?

$illumfactor $forward $bumpmap $phongexponent

Other parameters

$intro $warpparam $entityorigin