Is there any simple way to map different textures to different sides of a cuboid? I can’t just use a model, because the height of the cuboid changes. I’d like to be able to specify a sub texture out of a larger texture if possible, so that the texture I have changes with the height of my tile. I don’t think a sprite sheet would be sufficient in this case (if JME even supports them).
- How can I do the texture mapping in the program itself, rather than in a texture?
- Can I define the texture as a sub texture of a larger one?