Added textures for Blocks

This commit is contained in:
Simon Lübeß
2021-03-24 14:44:02 +01:00
parent 1b00fa67a5
commit 5873f12643
10 changed files with 269 additions and 31 deletions
+3 -3
View File
@@ -13,9 +13,9 @@ namespace Sandbox.VoxelFun
public static void Init()
{
Stone = RegisterModel(Blocks.Stone, .. new BlockModel(.Gray));
Grass = RegisterModel(Blocks.Grass, .. new BlockModel(.Green));
Dirt = RegisterModel(Blocks.Dirt, .. new BlockModel(.Brown));
Stone = RegisterModel(Blocks.Stone, .. new BlockModel(.White, BlockTextures.Stone));
Grass = RegisterModel(Blocks.Grass, .. new BlockModel(.White, BlockTextures.GrassTop, BlockTextures.GrassSide, BlockTextures.Dirt));
Dirt = RegisterModel(Blocks.Dirt, .. new BlockModel(.White, BlockTextures.Dirt));
}
public static void RegisterModel(Block block, Model model)