Es/Patch: Difference between revisions
< Es
Jump to navigation
Jump to search
m (-Using L template for links) |
m (Multipage removal) |
||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
<!-- Add the categories to the main page, not here. Some template, such as {{This is a}}, and all Table templates should be placed to the main page. --> | <!-- Add the categories to the main page, not here. Some template, such as {{This is a}}, and all Table templates should be placed to the main page. --> | ||
{{Source topicon}} | {{Source topicon}} | ||
Line 20: | Line 21: | ||
} | } | ||
} | } | ||
{{this is a|pixel shader|name=Patch}} |
Revision as of 08:48, 12 July 2024
Es un sombreado especial que permite a los materiales heredar el uno del otro. Por ello se emplean los siguientes comandos:
include
- El material base del que se heredará el resto.
Nota:Se necesita la ruta completa, incluyendo
materials\
y .vmt. insert
- Los parámetros a añadir, entre
{
y }. Los que ya existen se anulan.Consejo:
<parameter> ""
se puede usar para eliminar un valor establecido. replace
- Los parámetros a reemplazar, entre
{
y }.
La única limitación del parche
es que no puede modificar el material de un sombreado .
Ejemplo
patch { include materials\models\infected\common\common_infected_shared.vmt insert { $basetexture models\infected\common\military_national_guard\common_military_upper_01 } }
Patch
es un shader de píxeles disponible en todos los juegos de Source.