This article's documentation is for anything that uses the Source engine. Click here for more information.

mat_specular

From Valve Developer Community
Revision as of 16:02, 22 November 2025 by Luke18033 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Translate (Translate)

mat_specular is a console variable available in all Source Source games. This boolean cvar enables or disable specular reflections.

Note.pngNote:This console variable is flagged as development-only in Left 4 Dead and Left 4 Dead 2, so use the following command to bypass this:
Left 4 Dead sm_cvar mat_specular <0 or 1> command (with SourceMod installed) or
Left 4 Dead 2 script Convars.SetValue("mat_specular", "<0 or 1>") (using VScript).