$ambientonly
Jump to navigation
Jump to search

Confirm:Does it work on non-VertexLitGeneric shaders ?
$ambientonly is a material shader parameter available in all
Source games. It makes the material only receive ambient lighting[confirm]. It is only used in ![]()
debug/debugambientcube.vmt, ![]()
debug/env_cubemap_model_translucent.vmt and ![]()
debug/env_cubemap_model_translucent_fountain.vmt[confirm] (it is disabled in the cubemap materials).
VMT Syntax
$ambientonly <bool>
VertexLitGeneric { $ambientonly 1 }