game: replace Leaves_Red material

This commit is contained in:
Thr0lu5 2022-05-07 22:41:46 -03:00
parent 0234efd3a8
commit f660b259dd
5 changed files with 11 additions and 10 deletions

View File

@ -1,8 +0,0 @@
<material>
<technique name="Techniques/Diff.xml" quality="0" />
<texture unit="diffuse" name="Textures/leaves.dds" />
<shader psdefines="PACKEDNORMAL" />
<parameter name="MatSpecColor" value="0.3 0.3 0.3 16" />
<parameter name="MatDiffColor" value="0.896 0.451 0.528 1" />
<parameter name="TextureTiles" value="4" />
</material>

View File

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

Binary file not shown.

View File

@ -116,7 +116,7 @@ static const struct block_variant_t block_variants[] =
{ BLOCK_VARIANT_VEGETATION_LEAVES_1_DARK_BROWN, ITEM_VEGETATION, 30, "Dark Brown Leaves" },
{ BLOCK_VARIANT_VEGETATION_LEAVES_1_DARK_GREEN, ITEM_VEGETATION, 15, "Dark Green Leaves" },
{ BLOCK_VARIANT_VEGETATION_LEAVES_1_GREY, ITEM_VEGETATION, 0, "Grey Leaves" },
{ BLOCK_VARIANT_VEGETATION_LEAVES_1_RED, ITEM_VEGETATION, 10, "Leaves, red" },
{ BLOCK_VARIANT_VEGETATION_LEAVES_1_RED, ITEM_VEGETATION, 10, "Red Leaves" },
{ BLOCK_VARIANT_VEGETATION_LEAVES_1_YELLOW, ITEM_VEGETATION, 20, "Leaves, yellow" },
{ BLOCK_VARIANT_SANDSTONE_CLEAN_COBBLESTONES, ITEM_SANDSTONE, 0, "Clean Cobblestones Sandstone" },

View File

@ -222,7 +222,7 @@ CityMeshResources::CityMeshResources(ResourceCache *cache)
LOAD_MATERIAL(VEGETATION_LEAVES_1_DARK_BROWN, "VegetationLeaves_DarkBrown");
LOAD_MATERIAL(VEGETATION_LEAVES_1_DARK_GREEN, "VegetationLeaves_DarkGreen");
LOAD_MATERIAL(VEGETATION_LEAVES_1_GREY, "VegetationLeaves_Grey");
LOAD_MATERIAL(VEGETATION_LEAVES_1_RED, "VegetationLeaves1_Red");
LOAD_MATERIAL(VEGETATION_LEAVES_1_RED, "VegetationLeaves_Red");
LOAD_MATERIAL(VEGETATION_LEAVES_1_YELLOW, "VegetationLeaves1_Yellow");
LOAD_MATERIAL(SANDSTONE_CLEAN_COBBLESTONES, "SandstoneCobblestoneClean");
LOAD_MATERIAL(SANDSTONE_ROCKS_DARK, "SandstoneRocksDark");