Jump to content

Recommended Posts

Posted

So, I know that you are not supposed to use code-based item rendering in 1.9, and instead use models. I respect that, and this is more of a hypothetical, but plausible, situation:

 

A game has a spell system. Spells are objects which have a model for inventory and world, but when held in the hand is represented by the player's arm and a dynamic, GL-based effect (think ender dragon death animation/end portal animation).

 

Is this at all possible in the new system?

Posted

Well, you cannot actually do direct GL. You have to do it via models still.

 

Ah - well that is what I was asking - if it were possible to do rendering in GL for items for items which require freaky effects to pull off.

Posted

You can always use rendering events to detect if given item is worn and apply animation/effect to player. But that will be only useful if you want to e.g: render spell-orb in player's hand. Not really if you would like to e.g: have sword glow.

1.7.10 is no longer supported by forge, you are on your own.

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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