Occasionally, nearly identical texture fragments can be requested, with the only difference being croppability. However, in the case that the croppable texture fragments is not cropped at all, and is therefore identical to its counterpart, it is not discarded in favour of its counterpart. This causes the image to appear twice in the final texture atlas.
I noticed this testing end portals and end gateways together. End portals have the following texture fragment:
Occasionally, nearly identical texture fragments can be requested, with the only difference being croppability. However, in the case that the croppable texture fragments is not cropped at all, and is therefore identical to its counterpart, it is not discarded in favour of its counterpart. This causes the image to appear twice in the final texture atlas.
I noticed this testing end portals and end gateways together. End portals have the following texture fragment:
whereas end gateways have:
The following console debug log is then observed:
The resulting texture atlas looks something like this:
This is suboptimal!