Teeth: Difference between revisions
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]] | ||
{{ | {{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


Teeth
is a Pixel shader available in all 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: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]]