CompileNonSolid: Difference between revisions
Jump to navigation
Jump to search
Important:All faces of the brush must be textured with a nonsolid material for the brush to be nonsolid.
Tip:Use custom compilers that support func_detail_illusionary.
If custom compilers are unavailable, use
Bug:
Left 4 Dead 2 The material will be invisible if used on a brush with solid contents.
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified) |
SirYodaJedi (talk | contribs) No edit summary |
||
| Line 6: | Line 6: | ||
{{important|'''''All''''' faces of the brush must be textured with a nonsolid material for the brush to be nonsolid. | {{important|'''''All''''' faces of the brush must be textured with a nonsolid material for the brush to be nonsolid. | ||
{{tip|Use {{code|toolsblocklight}} as a [[nodraw]] texture for nonsolid brushes (counts as [[%CompileDetail|detail]]), or create a duplicate of {{code|toolsnodraw}} with {{code|%CompileNonSolid}} (naming it something like {{code|toolsnoclip}}).}} }} | {{tip|Use custom compilers that support {{ent|func_detail_illusionary}}.<br> | ||
If custom compilers are unavailable, use {{code|toolsblocklight}} as a [[nodraw]] texture for nonsolid brushes (counts as [[%CompileDetail|detail]]), or create a duplicate of {{code|toolsnodraw}} with {{code|%CompileNonSolid}} (naming it something like {{code|toolsnoclip}}).}} }} | |||
{{bug|hidetested=1|{{l4d2|4.1}} The material will be invisible if used on a brush with solid contents.}} | {{bug|hidetested=1|{{l4d2|4.1}} The material will be invisible if used on a brush with solid contents.}} | ||
[[Category:Shader parameters]] | [[Category:Shader parameters]] | ||
Latest revision as of 07:57, 2 December 2025
Add this VMT parameter to make brushes non-solid. When compiling the map, VBSP will flag the brush with this material as non-solid. Useful for foliage or light effects.
Unlike a brush tied to a func_illusionary, a worldspawn (or func_detail) brush with %CompileNonSolid does not count as an edict.
If custom compilers are unavailable, use
toolsblocklight as a nodraw texture for nonsolid brushes (counts as detail), or create a duplicate of toolsnodraw with %CompileNonSolid (naming it something like toolsnoclip).