$nodecal: Difference between revisions
Jump to navigation
Jump to search
Important:This is a material map compile flag when used on materials designed for brushes and displacements, being written to the BSP as
It is a regular parameter when used on materials designed for models.
SirYodaJedi (talk | contribs) mNo edit summary |
SirYodaJedi (talk | contribs) (it's a weird one, mr grinch) |
||
| Line 1: | Line 1: | ||
$nodecal is a shader parameter for textures in Source games. | {{code|$nodecal}} is a shader parameter for textures in Source games. | ||
$nodecal | {{code|$nodecal 1}} will stop bullet holes and other decals from applying to the textures flagged with it in their [[VMT]]s. | ||
This is useful for materials that use $translucent{{ | This is useful for materials that use [[$translucent]]{{why}}. | ||
{{modernImportant|This is a [[material map compile flag]] when used on materials designed for [[brushes]] and [[displacements]], being written to the [[BSP (Source)|BSP]] as {{code|[[BSP flags (Source)|SURF_NODECALS]]}}.<br>It is a regular parameter when used on materials designed for [[models]].}} | |||
[[Category:Shader parameters|n]] | [[Category:Shader parameters|n]] | ||
Revision as of 08:36, 12 January 2024
$nodecal is a shader parameter for textures in Source games.
$nodecal 1 will stop bullet holes and other decals from applying to the textures flagged with it in their VMTs.
This is useful for materials that use $translucent[Why?].
SURF_NODECALS.It is a regular parameter when used on materials designed for models.