#2D sprite in the GUI and 3D model in the hand
57 messages · Page 1 of 1 (latest)
Please make sure to read #1029373817119838218 as it may answer your question!
Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.
The game has no native way to do this unfortunately.
Best you can do is use weird workarounds with shaders based on the oppacity of the texture like this one:
https://github.com/ShockMicro/CorePerspectiveModels/
the trident did it, and also I've seen some texture packs doing it
but thanks for the link
I'll try it!
the trident is a hardcoded case
oh, makes sense
(Possible using the CorePerspectiveModels shader by ShockMicro, which was updated by asdru22)
which is exactly what I linked
rightlcick the texture, click "Enable Layers", then adjust the oppacity to whatever 253/255 is (or 254/255 or whichever value you need)
correction, you can just type in 253/255*100 in there if you don't wanna use a calculator
tysm
its not working
when I put the shaders and changed the opacity, it said resources failed to load
I changed the opacity by typing "253/255 * 100" in mace 2d texture layer and "254/255 * 100" in mace 3d textures
what version of Minecraft are you trying to use this on?
Not sure if anything shader related changed in 1.21 for example (but that would explain it if you use that version)
hmm, maybe there is a more up-to-date version of that shader pack 🤔?
ohh there is
i think
yep
found it
Adds a way to have different items in the hand and the GUI. - asdru22/CorePerspectiveModels
and it works!
ahh, good to know
thought asdru made a push request to the main respository for that, but maybe ShockMicro is no longer working on it in general 🤷♂️ (or didn't have time to look over it yet)
yeah
there are 2 problems though
I want it to work on an item frame
and
it's dark on the GUI for some reason
!faq item-dark-in-gui
To fix this in 1.15 or later:
- Go to the Display tab in the top right.
- Go to the gui display settings and there should now be a drop down menu at the top saying
Side Light. - Change it to
Front Light.
PS: If the dropdown menu isn't there, click on ⠇and clickReset, then it should be there.
it's not working anymore? huh? all I did was change it to front light, and resize the item frame
now it's showing up like this
did the texture oppacity reset to 100 again somehow 🤔 ?
no, it looks translucent
I can barely see through it
maybe something with the shaders?
maybe it's too translucent now 🤔 ?
that or the pack was updated to 1.20.X but not 1.21 yet, and it just hasn't crashed yet, but stuff might have changed that broke the intended behaviour?
Though you said you have seen packs that do work in 1.21, correct?
yea
heya I'm back at this thread, finally fixed it, is there any way to make it appear 2d when dropped and on an item frame?
like the trident
I don't think so
I think there was a different shader that had more oppacity values for different displays, but I can't remember the name right now and it might not be updated
awe, rip
This resource pack modifies whether the item will be emssive and where it will be rendered.
(You can make 3d model that is gun with hands. but in thirdperson screen, there's no hands model. Also in GUI, the gun can be 2D item.)
The transparency of the texture can be adjusted to set as below:
255 : Default
254 : GUI O | FirstPerson O | ThirdPerson O | Emissive O
253 : GUI O | FirstPerson O | ThirdPerson X | Emissive X
252 : GUI O | FirstPerson O | ThirdPerson X | Emissive O
251 : GUI O | FirstPerson X | ThirdPerson O | Emissive X
250 : GUI O | FirstPerson X | ThirdPerson O | Emissive O
249 : GUI X | FirstPerson O | ThirdPerson O | Emissive X
248 : GUI X | FirstPerson O | ThirdPerson O | Emissive O
247 : GUI X | FirstPerson O | ThirdPerson X | Emissive X
246 : GUI X | FirstPerson O | ThirdPerson X | Emissive O
245 : GUI X | FirstPerson X | ThirdPerson O | Emissive X
244 : GUI X | FirstPerson X | ThirdPerson O | Emissive O
243 : GUI O | FirstPerson X | ThirdPerson X | Emissive - (only GUI don't need emissive setting)
242 : Emissive for placed block, particle, entity, entity model item, etcBasic util.glsl code form Shock Micro.
It works on 1.18.2 1.19 1.19.1
(copied from the MinecraftCommands Discord)
but yeah, I don't think there is a more up-to date version of that
and I guess it only affects ThirdPerson additionally, not all displays