AntiqueAtlasTeam / AntiqueAtlas

A Minecraft mod that adds a fancy interactive map item.
http://www.minecraftforum.net/topic/2045745-164forge-antique-atlas
Other
256 stars 77 forks source link

Broken rendering with Iris when shaders are enabled #416

Open Nik-mmzd opened 2 years ago

Nik-mmzd commented 2 years ago

Describe the bug Atlas rendering bug (see screenshots)

To Reproduce Compile for 1.18.1 from 37038a399ecac1d58bcc7164ef3d309e8636a2cb Install Sodium and Iris Enable shaders (e. g. BSL)

Expected behavior image image

Screenshots image image

Fabric version information:

Additional context When Iris is installed, but no shaders are enabled, all renders normally Sodium: 0.4.0-alpha5 (latest) Iris: 1.1.3 (latest)

tyra314 commented 2 years ago

Does this also happen with the release version?

pikasalt commented 2 years ago

Yes, I can confirm that this happens using the latest 1.18.2 release versions of iris, sodium, and antique atlas

tyra314 commented 2 years ago

According to #448 it also happens on forge

ShiroYatagami commented 1 year ago

Still a problem on iris 1.4.3, sodium 0.4.1 build 15 & indium 1.0.7 when using shaders but not when disabling shaders.

tyra314 commented 1 year ago

Fixed in 99330bdf842502cbeac3e5b7d8ec18233cd7a970 thanks to @LangYueMc

tyra314 commented 1 year ago

Turns out, those patches don't resolve the issue properly.

Orgamorsh commented 5 months ago

I made a resource pack that kinda band-aid fixes this. The issue is with pixels with mixed transparency values overwriting other ones. This resource pack makes every pixel have 255 opacity. I think it works pretty well. I tested it with oculus on complementary.

Antique Atlas Shader Patch.zip

Screenshot 2024-06-09 142902