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

Hello, I am writing a mod which requires a large amount of custom textured particles, however I, having searched for a while, only found suggestions to manually bind a texture before rendering the particle and rebind the default after, which worked fine for me, except that I suddenly got 16 fps from a relatively small amount of particles :-\ . So has anyone since found a reasonable way to bind a new texture to your custom particles without lagging the game through the floor? Any help would be much appreciated. Thank you in advance.

Hi

 

You might find this technique useful - it puts your texture into the vanilla texture sheet so you don't have to rebind every time.

 

https://github.com/TheGreyGhost/MinecraftByExample/blob/master/src/main/java/minecraftbyexample/mbe50_entityfx/Notes.txt

 

So long as your texture size is not too big, this should work just as fast as vanilla textures.

 

Are you sure the slowness is coming from the texture rebind?  i.e. if you don't rebind the texture, does it speed up?

 

-TGG

  • Author

Thanks a LOT! It worked! Took a bit of work, but now it doesn't lag and the texture works perfect! Thanks again!

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.