MehVahdJukaar / mapatlases-neoforge

GNU General Public License v3.0
21 stars 5 forks source link

Corrupted textures on zoomed out maps #55

Closed cdf1008 closed 8 months ago

cdf1008 commented 8 months ago

I am having problems where the map is rendering corrupt graphics after certain zoom levels. The graphics could be anything from corrupt Mojang screens to random textures.

These photos are on forge 47.2.4 with only the mods Map Atlases 5.10.2 and Moonlight Library 2.8.56 with no config changes

Here is my latest.log as well latest.log

1.3.5 Zoom 1 3 5 Zoom 1.4.5 Zoom 1 4 5 Zoom 1.5.5 Zoom 1 5 5 Zoom

This also happens on the Minimap and Lectern Minimap Minimap Lectern Lecturn

MehVahdJukaar commented 8 months ago

temporary fix: turn off map mimpap in moonlight lib. Also do you have supplementaries? if so why the heck isnt that map colored. Do you have immediately fast? doesn it work without? that mod does some butchering to map render code

MehVahdJukaar commented 8 months ago

btw what you see is the content ofyour vram where a texture has not been filles so ist just garbage from previous textures

cdf1008 commented 8 months ago

Thanks you for the quick response with the temp fix it solved the issue! I only had the two mods I said in the post, as I was seeing if it was a issue that persisted with just the mod itself and Moonlight libraries outside of a larger modpack so no supplementaries for this issue

MehVahdJukaar commented 8 months ago

also i cant replicated. just booted up a modpack with those mods and a few random others and map mipmp is generated fine

cdf1008 commented 8 months ago

I asked a friend to help me check it to confirm it wasn't a single system issue he had similar issues of about 3-5 map tiles having the rendering problem around him, which was resolved again with the temp fix.

Usually to test I am logging into the same single player world, generating several maps on the same atlas, confirming the issue, changing the Moonlight Library mipmap config, re-logging, and repeating.

The rendering issue seems to happen sporadically in values of 1 and 2 on the mipmap, often reducing the size of the vram dump texture to only nearby generated tiles, while 3 and 4 often making it identical to above images.

Regardless, setting mipmap to 0 makes the Atlas work correctly with no vram dumps on the map. I should note as well, if it matters, that I usually have Minecraft's normal mipmap at 4 and don't see any of the issues above in the regular game. I am unsure of how to proceed if you cannot replicate, is there any additional logs or information I can send that can help?

MehVahdJukaar commented 8 months ago

So if I get this right you do see some maps correctly when zoomed out? Can you replicate this with just moonlight (and atlas. Altho you just need to place a map and walk away)

cdf1008 commented 8 months ago

Yeah I do see a map or two correctly at random now that ive been testing it a bit, Here is a gif example of it on mipmap 3. d9fcfb313fafb0ec74a2ea9a329459f0 and here is the map on mipmap 0 for comparison sake 2fffc35a475c2fe1fba38136ffa6c849

MehVahdJukaar commented 8 months ago

not sure. I tried loading up a modpack with the mod and zooming out at max and all maps seemed to behave fine, texture had mipmap too even for newly created ones

cdf1008 commented 8 months ago

Well, either way as the issue seems to be tied to mipmap I can just leave it off and it will function as intended. Once again appreciate you telling me about that. If there are any ways I can debug it to offer more information let me know. I'm not familiar graphical debugging.

MehVahdJukaar commented 8 months ago

can you try new moonlight version?

cdf1008 commented 8 months ago

I tried it and it works. I am able to properly able to use use mipmap 3 and 4 without any issues showing. Thank you very much!