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
m (Add {{lang}}.)
mNo edit summary
Line 1: Line 1:
{{lang|Teeth}}
{{Source topicon}} {{lang}}
[[File:Teeth shader1.jpg|Mouth is closed|thumb]]
[[File:Teeth shader1.jpg|Mouth is closed|thumb]]
[[File:Teeth shader2.jpg|Mouth is slightly open|thumb]]
[[File:Teeth shader2.jpg|Mouth is slightly open|thumb]]

Revision as of 06:33, 5 February 2023

English (en)Translate (Translate)
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