Farm plant textures are missing 1 row of pixels #286
Labels
No Label
blocker
bug
code quality
confirmed
critical
discussion
high priority
incompatibility
incomplete feature
invalid
low priority
missing feauture
needs testing
packet spam
performance
project
regression
translations
unconfirmed
in review
ready for review
No Milestone
No project
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mineclonia/Mineclonia#286
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happened?
farm plant textures fit nicely into their 16x16 pixel box. however, the farmland under them is 1 pixel lower than a full node, causing a 1 pixel gap between the farmland and the crops.
What did I expect?
I expected crops to not be floating above farmland
How to get it to happen
plant some crops into farmland, try to get eyelevel with the top of the farmland, and look through the crops.
Environment
Mineclonia Version:
8810a24ce0
(current)Minetest Version: 5.4.0
Solution
either draw an extra row of pixels at the bottom of each crop texture, or move them down by 1 pixel.
I can confirm this.
Thanks to #minetest IRC user ROllerozxa I found a way to make this happen for
#
-shapedplantlike
drawtype nodes: Use anodebox
drawtype instead … and then use texture modifier trickery to shift textures for the nodebox 1 pixel down with wraparound.farm plant textures are missing 1 row of pixelsto Farm plant textures are missing 1 row of pixelsThis is what is needed to make a fake-plantlike nodebox:
A 16px × 16px texture for this must have its bottom row at the top.
This can be achieved using the
[combine
texture modifier like so:Fixed with merge of this PR: #293