Mat specular: Difference between revisions
Jump to navigation
Jump to search

Note:This console variable is flagged as "launcher"-only in Left 4 Dead and Left 4 Dead 2, so use the following command instead:
SirYodaJedi (talk | contribs) m (Unnecessary comma) |
No edit summary |
||
| Line 3: | Line 3: | ||
This [[boolean]] [[cvar]] enables or disable [[$envmap|specular reflections]]. | This [[boolean]] [[cvar]] enables or disable [[$envmap|specular reflections]]. | ||
{{Note|This console variable is flagged as "launcher"-only in {{l4d|1}} and {{l4d2|1}}, so use the following command instead: </br>{{L4d}} {{code|sm_cvar | {{Note|This console variable is flagged as "launcher"-only in {{l4d|1}} and {{l4d2|1}}, so use the following command instead: </br>{{L4d}} {{code|sm_cvar mat_specular <0 or 1>}} command (with [[SourceMod]] installed) or </br>{{L4d2}} {{code|script Convars.SetValue("mat_specular", "<0 or 1>")}} (using [[VScript]]).}} | ||
[[Category:Cubemaps]] | [[Category:Cubemaps]] | ||
Latest revision as of 05:36, 10 April 2025
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).