Shadow
Jump to navigation
Jump to search
![English (en) English (en)](/w/images/3/37/Flag-en.png)
Warning:Using these shaders for other purposes or modifying the VMTs used by the shadow manager may yield unexpected results.
![Underlinked - Logo.png](/w/images/9/91/Underlinked_-_Logo.png)
This article needs more
links to other articles to help
integrate it into the encyclopedia. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024
![Wikipedia icon](/w/images/thumb/9/9a/Wikipedia_icon_small.png/16px-Wikipedia_icon_small.png)
![Wikipedia icon](/w/images/thumb/9/9a/Wikipedia_icon_small.png/16px-Wikipedia_icon_small.png)
![Wikipedia icon](/w/images/thumb/9/9a/Wikipedia_icon_small.png/16px-Wikipedia_icon_small.png)
January 2024
![English (en) English (en)](/w/images/3/37/Flag-en.png)
![Translate (Translate) Translate (Translate)](/w/images/a/a8/Flag-Translate.png)
Shadow
is a Pixel shader available in all Source games. It is the shader used by dynamic render-to-texture shadows and requires the
Shadow
proxy to function. A variant of this shader, ShadowModel
, is used to cast shadows on models and requires the ShadowModel
proxy instead.
The shadow manager draws from decals/rendershadow.vmt
and decals/rendermodelshadow.vmt
for its shadows.
![Warning.png](/w/images/thumb/c/cb/Warning.png/10px-Warning.png)
Example
"Shadow" { // "$basetexture" "Decals/simpleshadow" "$no_fullbright" 1 "$decal" 1 "%noToolTexture" 1 "Proxies" { "Shadow" { } } }
"ShadowModel" { "$decal" 1 "$model" 1 "$no_fullbright" 1 "%noToolTexture" 1 "Proxies" { "ShadowModel" { } } }
See also
- Dynamic shadows, which use these shaders.
- shadow_control, which is used to change the color of shadows loaded by the shadow manager.