SHsuperCM / CITResewn

Fabric implementation of mcpatcher's cit
MIT License
143 stars 71 forks source link

Very odd texture artifact #400

Closed Raiguri closed 1 month ago

Raiguri commented 1 month ago

When I have RP that have texture that isn't 1:1, for example 64x94, I have very odd texture bug on blocks based on distance. Even if this texture isn't used in any model. Plus very strange noise everywhere.

Another interesting thing, based on how much models are in the pack, the effect becomes stronger regardless of whether they have 1:1 textures in them or not. But the main condition is that there must be at least one 1:1 texture. Another interesting point, this bug is also triggered if the texture has a size that is not an even size.

image image image image image

Fabric, 1.20.1 Only cit resewn installed.

SHsuperCM commented 1 month ago

All of this makes sense and is expected, you are expanding the texture atlas and doing so creates artifacts if the atlas has odd or too many textures. Might also have to do with mipmap settings but I wouldnt know, I dont mess with the atlas usually.

This is not an issue specific to the mod. In general you should have even textures sized by powers of two.