CompileDetail: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: clean up, added stub, deadend tags)
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Dead end|date=January 2024}}
{{DISPLAYTITLE:%CompileDetail}}{{subpage|[[Material map compile flags]]}}
Compiles the texture as a detail texture, meaning any brush with this texture will be ignored by VBSP while cutting leaves - in other words, the brush will function as a func_detail.
Flags the any brushes using this material as [[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.}}


[[Category:Material System]]
[[Category:Material System]]
[[Category:Shader parameters]]
[[Category:Shader parameters]]
{{stub}}

Latest revision as of 10:34, 1 May 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.