Skip to content

Water overlay texture is cutoff if texture is more than 16x16 and is an animation #3523

@VindSole

Description

@VindSole

Bug Description

Starting with 0.8.6 1.21.11, the water_overlay.png texture stops rendering at 1/4 of the intended surface when the texture is more than 16x16 like the below example which is 32x32 and is animated. Non animated textures seem work as intended.

Vanilla/prior Sodium versions:
Image

Sodium 0.8.6:
Image

Reason the 32x32 texture I'm using still looks 16x16 is to work around the uv map of the hardcoded model that only uses 1/4 of the actual texture, so if I put a 16x16 on the upper left corner of the texture, it will look like a normal 16x16 texture does. This may be an intended optimization, but there are conflicts with resource packs that expect vanilla behavior shown above.

Reproduction Steps

Look at the water_overlay texture placing water against glass using a resource pack that uses an animated 32x32 texture.

Log File

2026-02-24-7.log

Crash Report

crash-2026-02-24_20.16.57-client.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions