mat_specular
Jump to navigation
Jump to search
mat_specular is a console variable available in all
Source games.
This boolean cvar enables or disable specular reflections.
sm_cvar mat_specular <0 or 1> command (with SourceMod installed) or script Convars.SetValue("mat_specular", "<0 or 1>") (using VScript).
If a material does not have a diffuse texture (usually due to missing $basetexture), then the environment map will be rendered regardless of this cvar.