1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-28 14:15:18 +01:00

Don't use bilinear/trilinear filter on small overlay if large base texture

This commit is contained in:
cx384
2025-10-24 15:47:36 +02:00
committed by sfan5
parent 35357e4300
commit ff15b413b0
2 changed files with 12 additions and 1 deletions

View File

@@ -53,6 +53,13 @@ core.register_craftitem("testitems:overlay_global", {
color = GLOBAL_COLOR_ARG,
})
core.register_craftitem("testitems:overlay_size", {
description = S("Texture Overlay Test Item, Big Base Small Overlay") .. "\n" ..
S("Wield overlay should not be blurry."),
inventory_image = "[fill:1000x1000:#FFFFFF",
inventory_overlay = "testitems_overlay_overlay.png",
})
core.register_craftitem("testitems:image_meta", {
description = S("Image Override Meta Test Item"),
inventory_image = "default_apple.png",