CompileDetail: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{subpage|[[Material map compile flags]]}}
{{subpage|[[Material map compile flags]]}}
Flags the any brushes using this material as [[contents flags|CONTENTS_DETAIL]]. In other words, the brush will function as a {{ent|func_detail}}.
Flags the any brushes using this material as [[contents flags|CONTENTS_DETAIL]]. In other words, the brush will function as a {{ent|func_detail}}. Recommended for {{cmd|$alphatest}} materials.
{{note|Detail contents will be stripped if part of an entity, to prevent {{cmd|r_drawfuncdetail}} from hiding entity brushes.}}
{{note|Detail contents will be stripped if part of an entity, to prevent {{cmd|r_drawfuncdetail}} from hiding entity brushes.}}


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

Revision as of 10:44, 1 March 2025

Flags the any brushes using this material as CONTENTS_DETAIL. In other words, the brush will function as a func_detail. Recommended for $alphatest materials.

Note.pngNote:Detail contents will be stripped if part of an entity, to prevent r_drawfuncdetail from hiding entity brushes.