Posted July 9, 201510 yr Heya guys, I am trying to fit the texture of my block model into the empty space of a player skin, it technically fits however I need the faces of a box to be separated on the texture file, is there any way to do this?
July 9, 201510 yr Author Sorry should've been more clear, when I call ModelRender with two ints links up the textures like this #-top-bottom-# left-front-right-back I can't fit "left-front-right-back" next to each other so I want em in separate places on the texture. Let's say the left side at (0,0) and the right side at (20,20)
July 9, 201510 yr Couldn't you use more than one texture? I don't do much entity rendering, but I know with blocks you can do that. If not can't you just make the texture bigger? If all else fails you can make 6 individual cuboids that have a thickness of 0 with a different texture for each arranged in a cube (I did a bad job of explaining it, but I hope you get the idea). I'll put something here when I have something of value I need to put at the end of every post. For now it's this mostly pointless text.
July 9, 201510 yr Author For this project that won't work, the texture has to be stored in the empty spaces of the player skin, unless I can extract these places into seperate files I won't be able to use multiple textures nor would I be able to make the texture bigger. (Also you explanation is fine thanks)
July 10, 201510 yr Author Since ModelRander always has the texture connected, I take it there is no way to do this using ModelRender, is there any alternative?
July 10, 201510 yr Author So I'd use planes for each side of the block that's visible and map those? I'll give it a shot.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.