$ambientonly
		
		
		
		Jump to navigation
		Jump to search
		

 
$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
 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).
 Confirm:Does it work on non-VertexLitGeneric shaders ?
 Confirm:Does it work on non-VertexLitGeneric shaders ?VMT Syntax
$ambientonly <bool>
VertexLitGeneric { $ambientonly 1 }
























