Open GeForceLegend opened 9 months ago
that is intended afaik. atlasSize is only set when the block atlas is bound so only entities that have their texture on the block atlas have it set
uniform ivec2 atlasSize; texture atlas size (only set when the atlas texture is bound)
that is intended afaik. atlasSize is only set when the block atlas is bound so only entities that have their texture on the block atlas have it set
uniform ivec2 atlasSize; texture atlas size (only set when the atlas texture is bound)
Some entities even with their textures have wrong atlasSize, as I described, boats, maybe some more, at that point I tested this.
I'm afraid that All entites that have their standalone texture but not using block atlas, excepting block entites, have this issue. Tested just now with Optifine 1.20.1 I6 Pre6, not sure if this still exists in 1.20.4.
Tested, this issue is still in 1.20.4, and only seems to affect the "real entities"? Dropped items with standalone entity textures like chests working fine. And, it's very interesting that the chest in chest minecart is working fine, but the minecart itself sucks.
hm okay then it's weird, chests shouldn't work, they are not on the block atlas
maybe a legacy thing, since they were once on the block atlas, iirc
All block entites' atlasSize working well, including the latest decorated_pot (128 64) and hanging_sign (256 256). That's why I'm guessing there is something wrong with entities' atlasSize, but not some block entities wrongly get atlasSize.
Description of Issue
Some entities'
atlasSize
uniform turnsivec2(0)
even though they have their textures.Steps to Reproduce
Using the template shader pack from shaderLABS for edit: https://cdn.discordapp.com/attachments/237199950235041794/825483993951633438/base.zip Editing gbuffers_entities.fsh:
if
atlasSize
is working (x and y both >0), the entity should be yellow. And this is what we get: item frames and dropped items are working well, but boats are black which means theiratlasSize
isivec2(0)
. Lots of other entities are black too.OptiFine Version
1.20.1 H5
Installation Method
Standalone
F3 Debug Screenshot
Provided above.