Skip to content

Update README.md #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down