Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inventory_overlay and color don't work correctly when item is held in hand #14667

Open
handful-of-frogs opened this issue May 15, 2024 · 2 comments
Labels
@ Script API Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible

Comments

@handful-of-frogs
Copy link

handful-of-frogs commented May 15, 2024

Minetest version

Minetest 5.8.0 (Linux)
Using Irrlicht 1.9.0mt13
Using LuaJIT 2.1.0-beta3
BUILD_TYPE=Release
RUN_IN_PLACE=0
USE_CURL=1
USE_GETTEXT=1
USE_SOUND=1
STATIC_SHAREDIR="/app/share/minetest"
STATIC_LOCALEDIR="/app/share/locale"

Irrlicht device

X11

Operating system and version

Fedora 39

CPU model

No response

GPU model

AMD Radeon RX 5700 XT

Active renderer

OpenGL 4.6

Summary

Notice the difference between how an item renders in hotbar/inventory and how it renders in hand:

image

image

image

My guess is that it's caused by half-transparent pixels in the overlay. The color difference - I'm not sure.

Steps to reproduce

See the attached mod for textures and items

item_render_bug_report.zip

@handful-of-frogs handful-of-frogs added the Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible label May 15, 2024
@Desour
Copy link
Member

Desour commented May 15, 2024

inventory_overlay is not meant to be used for dropped items and wielditems, AFAIK. It shows an image on top of the items mesh, and does not modify the mesh. You can see this very good if you're using the inventory items animations setting.

The issue with color reminds me of #12578. Duplicate?

@handful-of-frogs
Copy link
Author

There is also wield_overlay which doesn't work either.

The issue with color reminds me of #12578. Duplicate?

Most likely, yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@ Script API Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible
Projects
None yet
Development

No branches or pull requests

3 participants