Dragon Mounts: Legacy

Dragon Mounts: Legacy

15M Downloads

Second Pair of limbs render incorrectly due to hacky nature of the dragon model

IceaPlayzPC opened this issue ยท 6 comments

commented

Logs: not sure if the logs can help with a texturing issue? if i need a log still lmk and i can provide a latest.log in the comments.

Steps to Reproduce:

  1. load game
  2. spawn in a nether dragon and tame, or if you have a custom data pack, spawn in a dragon with glowing wing effects
  3. fly around in 3rd person view and notice that only one wing is affected
  4. ghost and ice are not affected by this bug for some reason

Description of issue:
So for some reason, the dragon textures don't register the other wing when it comes to the glowing/emissive material... but only sometimes. Vanilla-wise, the ghost and ice dragon textures have both wings with glowing textures, whereas the nether dragon the glowing effects are only on one wing. General body textures are unaffected for the wings, as those show properly.
This applies to resource packs and datapacks too, as my crystal dragon breed utilizes the glowing effects and only one wing glows in the dark whereas the other wing is a flat texture underneath (which i purposely put there as i was aware of the glitch, so the flat texture wing is a failsafe until this is fixed)
bug is present in both 1.18.1 and 1.18.2. 1.18.2 was used for the screenshots

Screenshots:
2022-03-24_00 07 47
Nether Dragon

2022-03-24_00 06 05
Custom Crystal Dragon

2022-03-24_00 08 32
2022-03-24_00 09 26
Ice and Ghost unaffected, but are translucent. Unsure if the translucency is intentional.

And on the topic of textures, the Aether dragon's wings are missing their scales shade it seems:
2022-03-24_00 16 49

if you prefer i report the aether dragon separately, lmk and i'll report it separately

commented

How did you make the crystal dragon? I'm trying to make custom breeds but don't know how.

commented

This is due to a bit of hacky rendering in order to create the left side limbs. If you remove the opaque layer of the wing texture then they render just fine. This is not a solution per say for your custom dragon or the built-in dragons, but hopefully this explains why this is occuring. The author is aware from a prior issue ticket, but im unsure as to when we may see a solution. in the mean time, im going to look into this myself and see if i cant solve this via a datapack/kubejs pack

commented

Yea iirc i removed the opaque layer on the crystal dragon a while ago, though i don't remember entirely as the data pack is on my old computer waiting to be moved and ported to 1.19. I think its gonna stay that way cuz the wings feel more crystal-y that way.

commented

image

Got it. The wings on dragons are now actually seperate cubes on the model rather than just rendering the wings twice. In the future this will also offer extended functionality such as pairs of wings looking unique from each other.

This fix will be pushed soon once I give the left pair of legs the same treatment.

This took way too long, and I apologize for the time on this, and I condemn your patience.

commented

That looks great! No worries on the time to fix it :) The unique wings stemming from this fix sound really exciting though!

commented

Playing on 1.20.1 and having the same trouble i thought it was fixed, any possible fixes for this via datapack?