CaffeineMC / sodium

A Minecraft mod designed to improve frame rates and reduce micro-stutter
Other
4.77k stars 811 forks source link

Overwrite `TextureAtlasSprite#uvShrinkRatio` #2746

Closed PepperCode1 closed 1 month ago

PepperCode1 commented 1 month ago

This is to improve mod compatibility. Mods, especially on Fabric, typically don't use FaceBakery to create custom quads outside of baked models, but they may still use uvShrinkRatio to manually shrink the UVs. A specific example this fixes is Continuity's overlays not lining up with the base quad with Sodium 0.6.0 beta 1 installed.