game: add TeakArc material

This commit is contained in:
Thr0lu5 2022-05-07 19:02:40 -03:00
parent 6d9f1e6e89
commit 81c8498e2d
5 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<material>
<technique name="Techniques/TF_cubes.xml" />
<texture unit="diffuse" name="Textures/Cubes/TeakArc.dds" />
<parameter name="MatSpecColor" value="1 1 1 16" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="TextureTiles" value="10" />
<parameter name="SpecContrastD" value=".1" />
<parameter name="SpecContrastL" value="1" />
</material>

Binary file not shown.

View File

@ -142,6 +142,7 @@ static const struct block_variant_t block_variants[] =
{ BLOCK_VARIANT_TEAK_STARS, ITEM_TEAK, 0, "Stars Teak" },
{ BLOCK_VARIANT_TEAK_STARS_DARK, ITEM_TEAK, 0, "Dark Stars Teak" },
{ BLOCK_VARIANT_TEAK_ARC, ITEM_TEAK, 0, "Arc Teak" },
};
namespace cc

View File

@ -142,6 +142,7 @@ enum
BLOCK_VARIANT_TEAK_STARS,
BLOCK_VARIANT_TEAK_STARS_DARK,
BLOCK_VARIANT_TEAK_ARC,
NUM_BLOCK_VARIANTS
};

View File

@ -242,6 +242,7 @@ CityMeshResources::CityMeshResources(ResourceCache *cache)
LOAD_MATERIAL(OAK_BURNED, "OakBurned");
LOAD_MATERIAL(TEAK_STARS, "TeakStars");
LOAD_MATERIAL(TEAK_STARS_DARK, "TeakStarsDark");
LOAD_MATERIAL(TEAK_ARC, "TeakArc");
#undef LOAD_MATERIAL