Iris Shaders

Iris Shaders

36M Downloads

Handheld maps not lit properly with certain shaders

Blurred35 opened this issue ยท 1 comments

commented

What happened?

Handheld maps (both main hand and offhand) are permanently in shadow with complementary shaders.

I tested with optifine for comparison and there were no issues with the maps.
As demonstrated with this video when switching to other shaders there is no issue.

https://streamja.com/oogGO

Screenshots

No response

Relevant log output

[12:15:40] [main/INFO]: Loading Minecraft 1.18.1 with Fabric Loader 0.12.12
[12:15:40] [main/INFO]: Loading 71 mods:
	- advanced_runtime_resource_pack 0.5.4 via enhancedblockentities
	- architectury 3.4.9
	- chunky 1.2.164
	- cloth-basic-math 0.6.0 via cloth-config
	- cloth-config 6.1.50
	- com_moandjiezana_toml_toml4j 0.7.2 via dynamicfps
	- com_velocitypowered_velocity-native 1.1.0-SNAPSHOT via krypton
	- dynamicfps 2.0.6
	- enhancedblockentities 0.5+1.18
	- fabric 0.46.1+1.18
	- fabric-api-base 0.4.1+b4f4f6cd65 via fabric
	- fabric-api-lookup-api-v1 1.5.0+17be577f65 via fabric
	- fabric-biome-api-v1 6.0.1+ded849a965 via fabric
	- fabric-blockrenderlayer-v1 1.1.9+3ac43d9565 via fabric
	- fabric-command-api-v1 1.1.6+3ac43d9565 via fabric
	- fabric-commands-v0 0.2.5+b4f4f6cd65 via fabric
	- fabric-containers-v0 0.1.18+d154e2c665 via fabric
	- fabric-content-registries-v0 0.4.5+6f53a73d65 via fabric
	- fabric-crash-report-info-v1 0.1.8+3ac43d9565 via fabric
	- fabric-dimensions-v1 2.1.9+a1d9bbf565 via fabric
	- fabric-entity-events-v1 1.4.5+6b21378a65 via fabric
	- fabric-events-interaction-v0 0.4.16+bfa23f1765 via fabric
	- fabric-events-lifecycle-v0 0.2.6+b4f4f6cd65 via fabric
	- fabric-game-rule-api-v1 1.0.10+3ac43d9565 via fabric
	- fabric-item-api-v1 1.3.0+691a79b565 via fabric
	- fabric-item-groups-v0 0.3.3+3ac43d9565 via fabric
	- fabric-key-binding-api-v1 1.0.8+c8aba2f365 via fabric
	- fabric-keybindings-v0 0.2.6+b4f4f6cd65 via fabric
	- fabric-lifecycle-events-v1 1.4.10+c15ca33565 via fabric
	- fabric-loot-tables-v1 1.0.8+3ac43d9565 via fabric
	- fabric-mining-level-api-v1 1.0.3+3ac43d9565 via fabric
	- fabric-mining-levels-v0 0.1.8+b4f4f6cd65 via fabric
	- fabric-models-v0 0.3.3+3ac43d9565 via fabric
	- fabric-networking-api-v1 1.0.18+3ac43d9565 via fabric
	- fabric-networking-v0 0.3.5+b4f4f6cd65 via fabric
	- fabric-object-builder-api-v1 1.11.1+3b82842e65 via fabric
	- fabric-object-builders-v0 0.7.9+3ac43d9565 via fabric
	- fabric-particles-v1 0.2.9+526dc1ac65 via fabric
	- fabric-registry-sync-v0 0.9.0+befed49e65 via fabric
	- fabric-renderer-api-v1 0.4.10+b0b66fc365 via fabric
	- fabric-renderer-indigo 0.4.13+b0b66fc365 via fabric
	- fabric-renderer-registries-v1 3.2.7+b4f4f6cd65 via fabric
	- fabric-rendering-data-attachment-v1 0.3.4+7242e9d765 via fabric
	- fabric-rendering-fluids-v1 0.1.18+3ac43d9565 via fabric
	- fabric-rendering-v0 1.1.9+b4f4f6cd65 via fabric
	- fabric-rendering-v1 1.10.3+6b21378a65 via fabric
	- fabric-resource-conditions-api-v1 1.0.1+13eda06565 via fabric
	- fabric-resource-loader-v0 0.4.11+3ac43d9565 via fabric
	- fabric-screen-api-v1 1.0.7+3ac43d9565 via fabric
	- fabric-screen-handler-api-v1 1.1.11+3ac43d9565 via fabric
	- fabric-structure-api-v1 2.1.0+0a73a6c265 via fabric
	- fabric-tag-extensions-v0 1.2.5+3ac43d9565 via fabric
	- fabric-textures-v0 1.0.9+3ac43d9565 via fabric
	- fabric-tool-attribute-api-v1 1.3.5+fb3b57b465 via fabric
	- fabric-transfer-api-v1 1.5.6+b4f4f6cd65 via fabric
	- fabricloader 0.12.12
	- ferritecore 4.0.0
	- inventoryprofilesnext 1.2.3
	- iris 1.2.0-pre
	- java 17
	- krypton 0.1.6
	- lazydfu 0.1.2
	- lithium 0.7.7
	- minecraft 1.18.1
	- modmenu 3.0.1
	- mousetweaks 2.22
	- org_anarres_jcpp 1.4.14 via iris
	- org_joml_joml 1.10.2 via sodium
	- org_slf4j_slf4j-api 1.7.12 via iris
	- sodium 0.4.0-alpha6+build.14
	- starlight 1.0.0+fabric.d0a3220
[12:15:40] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/C:/Users/cmjra/mmc-stable-win32/MultiMC/libraries/net/fabricmc/sponge-mixin/0.10.7+mixin.0.8.4/sponge-mixin-0.10.7+mixin.0.8.4.jar Service=Knot/Fabric Env=CLIENT
[12:15:40] [main/INFO]: Compatibility level set to JAVA_16
[12:15:40] [main/INFO]: Compatibility level set to JAVA_17
[12:15:41] [main/INFO]: Loaded configuration file for Lithium: 88 options available, 1 override(s) found
[12:15:41] [main/INFO]: Loaded configuration file for Sodium: 29 options available, 1 override(s) found
[12:15:41] [main/WARN]: Force-disabling mixin 'world.player_chunk_tick.ThreadedAnvilChunkStorageMixin' as rule 'mixin.world.player_chunk_tick' (added by mods [krypton]) disables it and children
[12:15:41] [main/WARN]: Force-disabling mixin 'features.sky.MixinWorldRenderer' as rule 'mixin.features.sky' (added by mods [iris]) disables it and children
[12:15:41] [main/INFO]: I used the json to destroy the json
[12:15:41] [main/INFO]: Trying to switch memory allocators to work around memory leaks present with Jemalloc 5.0.0 through 5.2.0 on Windows
[12:15:48] [main/WARN]: @Inject(@At("INVOKE")) Shift.BY=3 on fabric-lifecycle-events-v1.mixins.json:client.WorldChunkMixin::handler$zhc000$onLoadBlockEntity exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.
[12:15:49] [Render thread/WARN]: Method overwrite conflict for method_22920 in sodium.mixins.json:features.buffer_builder.intrinsics.MixinBufferBuilder, previously written by net.coderbot.iris.mixin.vertices.block_rendering.MixinBufferBuilder_SeparateAo. Skipping method.
[12:15:50] [Render thread/WARN]: @Final field field_22786:Ljava/util/List; in mixins.ipnext.json:MixinScreen should be final
[12:15:50] [Render thread/WARN]: @Final field field_33815:Ljava/util/List; in mixins.ipnext.json:MixinScreen should be final
[12:15:50] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[12:15:51] [Render thread/INFO]: Setting user: _Blurred_
[12:15:51] [Render thread/INFO]: Compression will use Java 11, encryption will use Java
[12:15:52] [Render thread/INFO]: [Indigo] Different rendering plugin detected; not applying Indigo.
[12:15:52] [Render thread/INFO]: Krypton is now accelerating your Minecraft client's networking stack ?
[12:15:52] [Render thread/INFO]: Note that Krypton is most effective on servers, not the client.
[12:15:52] [Render thread/INFO]: [STDOUT]: [Mouse Tweaks] Main.initialize()
[12:15:52] [Render thread/INFO]: [STDOUT]: [Mouse Tweaks] Initialized.
[12:15:52] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 build 10
[12:15:54] [Render thread/INFO]: [STDERR]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[12:15:54] [Render thread/INFO]: [STDERR]: SLF4J: Defaulting to no-operation (NOP) logger implementation
[12:15:54] [Render thread/INFO]: [STDERR]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[12:15:54] [Render thread/INFO]: Profile: HIGH (+0 options changed by user)
[12:15:56] [Render thread/INFO]: Using shaderpack: ComplementaryShaders_v4.3.3.zip
[12:15:56] [Render thread/INFO]: Hardware information:
[12:15:56] [Render thread/INFO]: CPU: 12x Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
[12:15:56] [Render thread/INFO]: GPU: NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2 (Supports OpenGL 3.2.0 NVIDIA 497.29)
[12:15:56] [Render thread/INFO]: OS: Windows 10 (10.0)
[12:15:57] [Render thread/WARN]: Method overwrite conflict for getNativeMemoryUsage in sodium.mixins.json:features.debug.MixinDebugHud, previously written by net.coderbot.iris.mixin.MixinDebugScreenOverlay. Skipping method.
[12:15:57] [Render thread/INFO]: Narrator library for x64 successfully loaded
[12:15:57] [Render thread/INFO]: Reloading ResourceManager: Default, Runtime Resource Packebe:pack, Fabric Mods (Runtime Resource Pack, Chunky, Cloth Config v6, Dynamic FPS, Enhanced Block Entities, Fabric API, Fabric API Base, Fabric API Lookup API (v1), Fabric Biome API (v1), Fabric BlockRenderLayer Registration (v1), Fabric Command API (v1), Fabric Commands (v0), Fabric Containers (v0), Fabric Content Registries (v0), Fabric Crash Report Info (v1), Fabric Dimensions API (v1), Fabric Entity Events (v1), Fabric Events Interaction (v0), Fabric Events Lifecycle (v0), Fabric Game Rule API (v1), Fabric Item API (v1), Fabric Item Groups (v0), Fabric Key Binding API (v1), Fabric Key Bindings (v0), Fabric Lifecycle Events (v1), Fabric Loot Tables (v1), Fabric Mining Level API (v1), Fabric Mining Levels (v0), Fabric Models (v0), Fabric Networking API (v1), Fabric Networking (v0), Fabric Object Builder API (v1), Fabric Object Builders (v0), Fabric Particles (v1), Fabric Registry Sync (v0), Fabric Renderer API (v1), Fabric Renderer - Indigo, Fabric Renderer Registries (v1), Fabric Rendering Data Attachment (v1), Fabric Rendering Fluids (v1), Fabric Rendering (v0), Fabric Rendering (v1), Fabric Resource Conditions API (v1), Fabric Resource Loader (v0), Fabric Screen API (v1), Fabric Screen Handler API (v1), Fabric Structure API (v1), Fabric Tag Extensions (v0), Fabric Textures (v0), Fabric Tool Attribute API (v1), Fabric Transfer API (v1), Fabric Loader, Inventory Profiles Next, Iris, Krypton, LazyDFU, Lithium, Mod Menu, Sodium, Starlight)
[12:15:57] [Render thread/INFO]: ARRP register - before vanilla
[12:15:57] [Render thread/INFO]: ARRP register - after vanilla
[12:15:57] [Render thread/WARN]: [inventoryprofilesnext] Unknown config key 'first_run' with value 'false'
[12:15:57] [Render thread/WARN]: [inventoryprofilesnext] Unknown config key 'first_run' with value 'false'
[12:15:59] [Render thread/INFO]: 'language' is an unsupported metadata key!
[12:15:59] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Speakers (High Definition Audio Device)
[12:15:59] [Render thread/INFO]: Sound engine started
[12:15:59] [Render thread/INFO]: Created: 2048x1024x4 minecraft:textures/atlas/blocks.png-atlas
[12:15:59] [Render thread/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[12:15:59] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[12:15:59] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[12:15:59] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[12:15:59] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[12:15:59] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[12:16:00] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[12:16:00] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[12:16:00] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[12:16:23] [Render thread/INFO]: Connecting to 162.33.20.113, 25570
[12:16:30] [Render thread/INFO]: Started 6 worker threads
[12:16:30] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[12:16:31] [Render thread/INFO]: [CHAT] _Blurred_ joined the game
[12:16:31] [Render thread/INFO]: Loaded 438 advancements
[12:16:32] [Render thread/INFO]: Creating pipeline for dimension OVERWORLD
[12:16:32] [Render thread/WARN]: [deferred1] Unsupported uniform: float isEyeInCave
[12:16:32] [Render thread/WARN]: [composite] Unsupported uniform: float isEyeInCave
[12:16:32] [Render thread/WARN]: [Triforce Patcher] gl_FragColor is not supported yet, please use gl_FragData! Assuming that the shaderpack author intended to use gl_FragData[0]...
[12:16:32] [Render thread/WARN]: [textured] Unsupported uniform: float isEyeInCave
[12:16:32] [Render thread/WARN]: [textured_color] Unsupported uniform: float isEyeInCave
[12:16:32] [Render thread/WARN]: [sky_basic] Unsupported uniform: float isEyeInCave
[12:16:32] [Render thread/WARN]: [sky_basic_color] Unsupported uniform: float isEyeInCave
[12:16:32] [Render thread/WARN]: [terrain_translucent] Unsupported uniform: float isEyeInCave
[12:16:32] [Render thread/WARN]: [particles] Unsupported uniform: float isEyeInCave
[12:16:32] [Render thread/INFO]: Stopping worker threads
[12:16:32] [Render thread/INFO]: Started 6 worker threads
[12:16:33] [Render thread/WARN]: [<sodium shaders>] Unsupported uniform: float isEyeInCave
[12:16:36] [Render thread/INFO]: [CHAT] Inventory Profiles Next: Version: '1.2.4' is now available.\nGet it from: "Modrinth" or "CurseForge"
[12:16:55] [Render thread/INFO]: Stopping worker threads
[12:16:58] [Render thread/INFO]: Stopping!
[12:16:58] [Render thread/INFO]: closing rrp ebe:pack

Minecraft Version

Minecraft 1.18.1

Iris Version

1.2.0-pre

Sodium Version

0.4.0-alpha6+build.14

Operating System

Windows 11

What is your GPU?

Nvidia Geforce 2070 Max Q

Java Version

Java 17

Additional context

No response

commented

This is caused by RenderType#text and RenderType#textSeeThrough not using the extended vertex format when in a world. They use DefaultVertexFormat.POSITION_COLOR_TEX_LIGHTMAP (corresponding to the "glyph" format in Sodium) instead of DefaultVertexFormat.NEW_ENTITY (corresponding to the "quad" format in Sodium).