Mipmap of block atlas texture inconsistent in deferred pipeline
GeForceLegend opened this issue ยท 3 comments
What happened?
While using block atlas texture in deferred pipeline, like texture.composite.colortex6 = minecraft:textures/atlas/blocks.png
, mipmap level of block atlas texture changes with objects in last draw.
Screenshots
Directly set program output to texture(colortex6, texcoord, 4.0)
in composite.fsh (colortex6 has been set to block atlas texture in shaders.properties).
Hold a transparent block:
Hold nothing:
Log output
Looks nothing useful in log
Minecraft Version
Minecraft 1.21.1
Iris Version
iris-fabric-1.8.0-beta.3+mc1.21.1.jar
Operating System
Windows 10
What is your GPU?
NVIDIA GeForce RTX 4070
Additional context
No response
This should match Optifine behavior. The last mipmap state will be used for the texture.
Should mipmaps always be on?
I guess yes, as in Optifine, cutout and cutout_mipped blocks are rendered together with mipmap on
Optifine will fix this in next preview. According to sp614x's comment, block atlas mipmaps in deferred/composite/final should be enabled