CompileFog: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (XBLAH moved page $compilefog to %CompileFog: wrong path)
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{stub}}
{{subpage|[[Material map compile flags]]}}
{{code|$compilefog}} is a VMT parameter used by tools/toolsfog.
{{stub}}{{DISPLAYTITLE:%CompileFog}}
 
[[File:Toolsfog.gif|64px|left]]
{{modernConfirm|What does it do?}}
{{code|%compilefog}} is a VMT parameter used by {{code|tools/toolsfog}}. This flag is not read by VBSP, and as such has no effect. It may be leftover from earlier in Half-Life 2's development.
Judging by comments and ifdefs in VRAD's source code, it may have been used to create fog volumes which are baked into the level geometry instead of built at runtime using {{ent|env_fog_controller}} or {{ent|fog_volume}}.


[[Category:Material System]]
[[Category:Material System]]
[[Category:Shader parameters]]
[[Category:Shader parameters]]

Latest revision as of 17:23, 24 March 2025

Stub

This article or section is a stub. You can help by expanding it.

Toolsfog.gif

%compilefog is a VMT parameter used by tools/toolsfog. This flag is not read by VBSP, and as such has no effect. It may be leftover from earlier in Half-Life 2's development. Judging by comments and ifdefs in VRAD's source code, it may have been used to create fog volumes which are baked into the level geometry instead of built at runtime using env_fog_controller or fog_volume.