Jump to content

Recommended Posts

Posted

I want to give the player a buff that allows them to see mobs through walls. Instead of using the glowing effect, I actually want to make the mobs render through the walls. How could I achieve that?

Posted
6 hours ago, FlashHUN said:

I want to give the player a buff that allows them to see mobs through walls. Instead of using the glowing effect, I actually want to make the mobs render through the walls. How could I achieve that?

this sounds like cheating, what do you want to achieve?

Posted
4 hours ago, Luis_ST said:

this sounds like cheating, what do you want to achieve?

Players can unlock and go into a form that allows them to see other players and mobs through walls in a radius depending on how skilled they are at using said form, and see roughly how much mana those players have left. That's the basic idea.

Posted
1 hour ago, FlashHUN said:

Players can unlock and go into a form that allows them to see other players and mobs through walls in a radius depending on how skilled they are at using said form, and see roughly how much mana those players have left. That's the basic idea.

In 1.16 it becomes a bit more difficult but you have to deactivate depth test and enable alpha test and blend,
use LivingRenderEvent

Posted
15 hours ago, Luis_ST said:

In 1.16 it becomes a bit more difficult but you have to deactivate depth test and enable alpha test and blend,
use LivingRenderEvent

No matter what order I put these in or which class I enable and disable them from (RenderSystem, GlStateManager, GL11), I can't achieve the result I'm looking for...

Posted
4 hours ago, FlashHUN said:

No matter what order I put these in or which class I enable and disable them from (RenderSystem, GlStateManager, GL11), I can't achieve the result I'm looking for...

Take a look how the glowing effect works and copy the logic

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.