forked from townforge/townforge
game: add TeakSquared material
This commit is contained in:
parent
d2edc8a13e
commit
d7c710ee87
9
GameData/Materials/material_TeakSquared.xml
Normal file
9
GameData/Materials/material_TeakSquared.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<material>
|
||||
<technique name="Techniques/TF_cubes.xml" />
|
||||
<texture unit="diffuse" name="Textures/Cubes/TeakSquared.dds" />
|
||||
<parameter name="MatSpecColor" value="1 1 1 16" />
|
||||
<parameter name="MatDiffColor" value="1 1 1 1" />
|
||||
<parameter name="TextureTiles" value="7" />
|
||||
<parameter name="SpecContrastD" value=".0" />
|
||||
<parameter name="SpecContrastL" value="1" />
|
||||
</material>
|
BIN
GameData/Textures/Cubes/TeakSquared.dds
Executable file
BIN
GameData/Textures/Cubes/TeakSquared.dds
Executable file
Binary file not shown.
@ -144,6 +144,7 @@ static const struct block_variant_t block_variants[] =
|
||||
{ BLOCK_VARIANT_TEAK_STARS_DARK, ITEM_TEAK, 0, "Dark Stars Teak" },
|
||||
{ BLOCK_VARIANT_TEAK_ARC, ITEM_TEAK, 0, "Arc Teak" },
|
||||
{ BLOCK_VARIANT_TEAK_PANEL, ITEM_TEAK, 0, "Panel Teak" },
|
||||
{ BLOCK_VARIANT_TEAK_SQUARED, ITEM_TEAK, 0, "Squared Teak" },
|
||||
};
|
||||
|
||||
namespace cc
|
||||
|
@ -144,6 +144,7 @@ enum
|
||||
BLOCK_VARIANT_TEAK_STARS_DARK,
|
||||
BLOCK_VARIANT_TEAK_ARC,
|
||||
BLOCK_VARIANT_TEAK_PANEL,
|
||||
BLOCK_VARIANT_TEAK_SQUARED,
|
||||
|
||||
NUM_BLOCK_VARIANTS
|
||||
};
|
||||
|
@ -244,6 +244,7 @@ CityMeshResources::CityMeshResources(ResourceCache *cache)
|
||||
LOAD_MATERIAL(TEAK_STARS_DARK, "TeakStarsDark");
|
||||
LOAD_MATERIAL(TEAK_ARC, "TeakArc");
|
||||
LOAD_MATERIAL(TEAK_PANEL, "TeakPanel");
|
||||
LOAD_MATERIAL(TEAK_SQUARED, "TeakSquared");
|
||||
|
||||
#undef LOAD_MATERIAL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user