Closed kristiker closed 11 months ago
vmat_prefab is avaliable in latest dota 2. This new asset type defines base parameters that materials can inherit, similar to source 1 Patch. Difference is vmat_prefab does not compile to vmat_c. There is no documentation or any example usages.
vmat_prefab
vmat_c
https://github.com/kristiker/source1import/blob/cfd49a2a9da016e77ab72fb43b9311f3538450a4/utils/materials_import.py#L1350
This file in samples is a good example. https://github.com/kristiker/source1import/blob/a0b955d1aac640576bf1bbb37a3ba4c42d42a336/source_game/materials/models/props_foliage/tree_include_small.vmt#L1-L19
Materials included by map-specific patches not as much.
vmat_prefab
is avaliable in latest dota 2. This new asset type defines base parameters that materials can inherit, similar to source 1 Patch. Difference isvmat_prefab
does not compile tovmat_c
. There is no documentation or any example usages.https://github.com/kristiker/source1import/blob/cfd49a2a9da016e77ab72fb43b9311f3538450a4/utils/materials_import.py#L1350
This file in samples is a good example. https://github.com/kristiker/source1import/blob/a0b955d1aac640576bf1bbb37a3ba4c42d42a336/source_game/materials/models/props_foliage/tree_include_small.vmt#L1-L19
Materials included by map-specific patches not as much.