Teeth: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Changed to use shader and MatParam templates)
(Added teeth pictures)
Line 1: Line 1:
[[File:Teeth shader1.jpg|Mouth is closed|thumb]]
[[File:Teeth shader2.jpg|Mouth is slightly 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.
{{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.
:{{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>}}
:{{Todo|Add an image showing the teeth.}}
:


==Parameters==
==Parameters==

Revision as of 10:54, 11 November 2021

Mouth is closed
Mouth is slightly open
Mouth is open

Shader-ball.png 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.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