CompileNonSolid: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Add bug and confirm)
mNo edit summary
Line 2: Line 2:
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.
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 [[func_illusionary]], a brush with a {{code|%CompileNonSolid}} face does not count as an [[edict]].
Unlike a brush tied to a [[func_illusionary]], a [[worldspawn]] brush with a {{code|%CompileNonSolid}} face does not count as an [[edict]].


Equivalent to the {{code|NOCLIP}} [[tool textures (GoldSrc)|tool texture]] in {{goldsrc|4}}.
Equivalent to the {{code|NOCLIP}} [[tool textures (GoldSrc)|tool texture]] in {{goldsrc|4}}.


{{bug|Identical to {{code|[[%CompileNoDraw]]}} in {{l4d2|4.1}}.}}
{{bug|Identical to {{code|[[%CompileNoDraw]]}} in {{l4d2|4.1}}.}}
{{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?}}
{{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:List of Shader Parameters]]

Revision as of 06:47, 20 June 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 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.)