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

Mat specular: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{LanguageBar}} {{this is a|console variable|name=mat_specular}} This boolean cvar, enables or disable 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 building_cubemaps <0 or 1>}} command (with SourceMod installed) or </br>{{L4d2}} {{code|script Convars.SetValue("mat_specular", "<0 or 1>")}} (using VScript).}} Cat...")
 
m (Unnecessary comma)
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}
{{this is a|console variable|name=mat_specular}}
{{this is a|console variable|name=mat_specular}}
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 building_cubemaps <0 or 1>}} command (with [[SourceMod]] installed) or </br>{{L4d2}} {{code|script Convars.SetValue("mat_specular", "<0 or 1>")}} (using [[VScript]]).}}
{{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 building_cubemaps <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]]

Revision as of 05:13, 18 February 2025

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 "launcher"-only in Left 4 Dead and Left 4 Dead 2, so use the following command instead:
Left 4 Dead sm_cvar building_cubemaps <0 or 1> command (with SourceMod installed) or
Left 4 Dead 2 script Convars.SetValue("mat_specular", "<0 or 1>") (using VScript).