Sodium

Sodium

61M Downloads

Display entity texture interpolation is broken

GamerGoBC opened this issue ยท 4 comments

commented

Bug Description

The display entity of an item that has texture interpolation has no interpolation.

An example of what it should look like without sodium:
https://github.com/user-attachments/assets/52d21e54-c578-41e3-9124-ef0a0fd8dac0

An example of what it looks like with sodium:
https://github.com/user-attachments/assets/83f3c062-ab58-4515-be08-520293639d43

Reproduction Steps

  1. Summon a display entity (item or block display) with a texture containing interpolation.
  2. You see that the texture interpolation is missing. The texture simply switches between its states.

Log File

latest.log

Crash Report

crash-2025-10-05_23.30.30-client.txt

commented

Could you provide us with the reproduction case you're using or some other minimal reproduction case so we can debug this easily?

commented

Some textures in the game or in resource packs are interpolated via .mcmeta file.
Example of .mcmeta file with interpolation:

{
	"animation": {
		"frametime": 20,
		"interpolate": true
	}
}

If you summon an entity display for a block or item with such a texture, its interpolation will be missing.

I don't know which vanilla textures would be a good example, but I can just provide my resource pack for a quick example.
Example.zip

  1. Install the resourcepack
  2. run /summon item_display ~.5 ~.5 ~.5 {item:{components:{"minecraft:item_model":"axis:selection"},id:"minecraft:paper"}}
commented

Does this work correctly if you turn off the option Only Animate Visible Textures in Video Settings > Performance?

commented

No, I tried changing every setting in Sodium, but it only works if I completely disable the mod.