Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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?

  • 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)

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.

  • 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)

  • Author

Since ModelRander always has the texture connected, I take it there is no way to do this using ModelRender, is there any alternative?

  • 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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.