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

Teeth: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 3: Line 3:
[[File:Teeth shader2.jpg|Mouth is slightly open|thumb]]
[[File:Teeth shader2.jpg|Mouth is slightly open|thumb]]
[[File:Teeth shader3.jpg|Mouth is open|thumb]]
[[File:Teeth shader3.jpg|Mouth is open|thumb]]
{{Shader|Teeth}} It is a shader for teeth that is used to dynamically adjust the brightness of the teeth based on how open the mouth is.
{{this is a|pixel shader|name=Teeth}} 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|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 <code>[[VertexLitGeneric]].</code>}}
:{{Note|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 <code>[[VertexLitGeneric]].</code>}}
:
:

Revision as of 18:02, 5 January 2024

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|$basetexture]] [[$halflambert|$halflambert]]

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

$illumfactor $forward [[$bumpmap|$bumpmap]] [[$phongexponent|$phongexponent]]

Other parameters

$intro $warpparam $entityorigin