CompileNonSolid: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 9: Line 9:
{{modernConfirm|Do all brush faces need to be textured with non-solid materials, or will one face being textured properly result in disabling the brush's collision? (BSP requires all sides of a brush to either have or not have collision, due to how clipnodes work.)}}
{{modernConfirm|Do all brush faces need to be textured with non-solid materials, or will one face being textured properly result in disabling the brush's collision? (BSP requires all sides of a brush to either have or not have collision, due to how clipnodes work.)}}


[[Category:List of Shader Parameters]]
[[Category:Shader parameters]]

Revision as of 08:30, 15 August 2023

Stub

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

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 a %CompileNonSolid face does not count as an edict.

Equivalent to the NOCLIP tool texture in GoldSrc GoldSrc.

Icon-Bug.pngBug:Identical to %CompileNoDraw in Left 4 Dead 2 Left 4 Dead 2.  [todo tested in ?]
Confirm:Do all brush faces need to be textured with non-solid materials, or will one face being textured properly result in disabling the brush's collision? (BSP requires all sides of a brush to either have or not have collision, due to how clipnodes work.)