optifine icon indicating copy to clipboard operation
optifine copied to clipboard

[Bug] Far away blocks are either transparent or black while near blocks are fine. OptiFine HD U J3. Minecraft version 1.21.4

Open JasonB75 opened this issue 10 months ago • 6 comments

Description of Issue

I launch Minecraft from the launcher using the Optifine install, and anything at a distance in the world is either dark and/or see-through. Blocks close to me work fine though.

I installed Optifine by downloading it from the default part of the website and double-clicking the .jar to run it. The installer gave no issues.

This occured with pre-releases 9 through the last one and still in the official release.

I have not had this issue with previous versions of minecraft, but I haven't played since 1.21.1, then just started again recently with 1.21.4.

It happens both with my AMD intigrated graphics as well as my laptop version RTX 3050.

These screenshots are from a server, but the same happens in single player.

Image Image Image

Steps to Reproduce

Launch minecraft using the optifine install

OptiFine Version

OptiFine HD U J3 minecraft version 1.21.4 Windows 10

Installation Method

-Clicked the download button on: https://optifine.net/downloads

  • double clicked the .jar file in my file explorer
  • clicked the "install" button on the optifine installer.

Log Files/Crash Reports

Launcher Log: https://pastebin.com/gCZyPcgg

Latest.log: https://pastebin.com/VeEpsTkw

F3 Debug Screenshot

Image Image Image

Prior Testing

It does not, vanilla seems to work perfectly.

Additional Information

This is what felt relavent, but please let me know if you need more information, examples, or to run tests. I'm willing to help however would be best.

Image Image

JasonB75 avatar Feb 11 '25 23:02 JasonB75

This happened to me too, does anyone know the solution ?

azizdeniz890 avatar Feb 14 '25 06:02 azizdeniz890

Same here, and it changes when zooming in (same problem, but different).

Image Image

KevinHP avatar Feb 15 '25 15:02 KevinHP

Preview J4_pre2 adds a bugfix. Please test if working correctly.

sp614x avatar Feb 20 '25 17:02 sp614x

Preview J4_pre2 adds a bugfix. Please test if working correctly.

At least for me, it did not. I know a video settings fix was mention in another area, anti-aliasing I think, I have not tried that yet but can. The screenshots and log are all using the same settings as my initial post.

The launcher_log: https://pastebin.com/UmdApbFp

Image Image

JasonB75 avatar Feb 20 '25 22:02 JasonB75

Preview J4_pre2 adds a bugfix. Please test if working correctly.

At least for me, it did not. I know a video settings fix was mention in another area, anti-aliasing I think, I have not tried that yet but can. The screenshots and log are all using the same settings as my initial post.

The launcher_log: https://pastebin.com/UmdApbFp

Image Image

The issue seems to be with mipmapping. Turning it off worked for me

masterown35 avatar Feb 23 '25 03:02 masterown35

This is mainly caused by when using anisotropic filtering, mipmap content will be undefined, like this nsight graphics capture:

Image

However, undefined mipmap content also happens in OF 1.21.1, but it doesn't cause distant blocks turing black. The difference I noticed is previously GL_TEXTURE_MIN_FILTER is GL_NEAREST, but in 1.21.4 it's GL_NEAREST_MIPMAP_LINEAR. Is this change causes distant blocks black?

Image

GeForceLegend avatar Feb 23 '25 04:02 GeForceLegend

Any update on this? Facing the same issue here.

jgfmachado avatar Mar 07 '25 00:03 jgfmachado

Any update on this? Facing the same issue here.

I downgraded to 1.21.3 for workaround. I wait for a fix. :)

KevinHP avatar Mar 07 '25 07:03 KevinHP

Any update on this? Facing the same issue here.

Set the MipMap Levels to off it'll work just fine, go to Video Settings -> Quality... -> MipMap Levels and set the bar to off

Kamisenin avatar Mar 21 '25 19:03 Kamisenin

I believe this is fixed in Optifine for 1.21.8. Mipmap contents are filled with correct result when builtin anisotropic filtering on, which means it may provide even better result than before.

Image

GeForceLegend avatar Aug 03 '25 01:08 GeForceLegend