From a71480a4608fb2ff9860e7ca42af041539e4d00b Mon Sep 17 00:00:00 2001 From: Biel Simon Rojas Date: Fri, 8 Dec 2017 21:05:45 +0100 Subject: [PATCH] Update README.md Added multi textured block documentation --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 06a4d70..6b45760 100644 --- a/README.md +++ b/README.md @@ -264,6 +264,11 @@ Loading textures onto the texture atlas. Both of these textures will be loaded into the texture atlas and expanded creating 2 voxel block types. +To create a material with different textures for each face of the block, you can pass an array of textures with its indices corresponding to block faces as follows (viewing form the top): + 0 + 4 X 5 (2top/3bottom) + 1 + ### Texture-less worlds with flat colors You can specify hex colors to use as materials, just pass these options when creating a game: