Iris Shaders

Iris Shaders

38M Downloads

Iris wrongly using old lighting for CPHSBC shader + black block breaking animation

voxel-ate opened this issue ยท 2 comments

commented

What happened?

CPHSBC shader by CrushedPixel (link to vid: https://www.youtube.com/watch?v=zgGl-xLlOcs&t=1s)

Iris seems to render CPHSBC shader differently to optifine, where less shading is present and the block breaking animation is fully opaque and dark instead of having transparency. This might not be worth looking into, but I would appreciate if you did or are able to suggest a remedy to the issue, thanks

Screenshots

Optifine 1.20.1:
Base Profile Screenshot 2023 07 28 - 23 33 34 60
Base Profile Screenshot 2023 07 28 - 23 33 18 60

Iris 1.20:
Minecraft Screenshot 2023 07 28 - 23 15 40 80
Minecraft Screenshot 2023 07 28 - 23 13 38 83

Log output

[23:11:59] [main/INFO]: Loading Minecraft 1.20 with Fabric Loader 0.14.21
[23:11:59] [main/INFO]: Loading 58 mods:
- fabric-api 0.83.0+1.20
|-- fabric-api-base 0.4.29+b04edc7a27
|-- fabric-api-lookup-api-v1 1.6.34+4d8536c927
|-- fabric-biome-api-v1 13.0.10+b3afc78b27
|-- fabric-block-api-v1 1.0.9+e022e5d127
|-- fabric-blockrenderlayer-v1 1.1.39+b3afc78b27
|-- fabric-client-tags-api-v1 1.0.20+b3afc78b27
|-- fabric-command-api-v1 1.2.32+f71b366f27
|-- fabric-command-api-v2 2.2.11+b3afc78b27
|-- fabric-commands-v0 0.2.49+df3654b327
|-- fabric-containers-v0 0.1.61+df3654b327
|-- fabric-content-registries-v0 4.0.7+b3afc78b27
|-- fabric-convention-tags-v1 1.5.3+b3afc78b27
|-- fabric-crash-report-info-v1 0.2.18+aeb40ebe27
|-- fabric-data-generation-api-v1 12.1.10+b3afc78b27
|-- fabric-dimensions-v1 2.1.51+b3afc78b27
|-- fabric-entity-events-v1 1.5.21+b3afc78b27
|-- fabric-events-interaction-v0 0.6.0+b3afc78b27
|-- fabric-events-lifecycle-v0 0.2.61+df3654b327
|-- fabric-game-rule-api-v1 1.0.38+b04edc7a27
|-- fabric-item-api-v1 2.1.26+b3afc78b27
|-- fabric-item-group-api-v1 4.0.7+b3afc78b27
|-- fabric-key-binding-api-v1 1.0.36+fb8d95da27
|-- fabric-keybindings-v0 0.2.34+df3654b327
|-- fabric-lifecycle-events-v1 2.2.20+b3afc78b27
|-- fabric-loot-api-v2 1.1.37+b3afc78b27
|-- fabric-loot-tables-v1 1.1.41+9e7660c627
|-- fabric-message-api-v1 5.1.6+b3afc78b27
|-- fabric-mining-level-api-v1 2.1.47+b3afc78b27
|-- fabric-models-v0 0.3.35+b3afc78b27
|-- fabric-networking-api-v1 1.3.8+b3afc78b27
|-- fabric-networking-v0 0.3.48+df3654b327
|-- fabric-object-builder-api-v1 11.0.6+b3afc78b27
|-- fabric-particles-v1 1.0.28+b3afc78b27
|-- fabric-recipe-api-v1 1.0.18+b3afc78b27
|-- fabric-registry-sync-v0 2.2.6+b3afc78b27
|-- fabric-renderer-api-v1 3.0.1+b3afc78b27
|-- fabric-renderer-indigo 1.3.1+b3afc78b27
|-- fabric-renderer-registries-v1 3.2.44+df3654b327
|-- fabric-rendering-data-attachment-v1 0.3.33+b3afc78b27
|-- fabric-rendering-fluids-v1 3.0.26+b3afc78b27
|-- fabric-rendering-v0 1.1.47+df3654b327
|-- fabric-rendering-v1 3.0.6+b3afc78b27
|-- fabric-resource-conditions-api-v1 2.3.4+b3afc78b27
|-- fabric-resource-loader-v0 0.11.7+f7923f6d27
|-- fabric-screen-api-v1 2.0.6+b3afc78b27
|-- fabric-screen-handler-api-v1 1.3.27+b3afc78b27
|-- fabric-sound-api-v1 1.0.12+b3afc78b27
|-- fabric-transfer-api-v1 3.2.2+b3afc78b27
-- fabric-transitive-access-wideners-v1 4.2.0+b3afc78b27
- fabricloader 0.14.21
- iris 1.6.4
|-- io_github_douira_glsl-transformer 2.0.0-pre13
|-- org_anarres_jcpp 1.4.14
-- org_antlr_antlr4-runtime 4.11.1
- java 17
- minecraft 1.20
- sodium 0.4.10+build.27
|-- fabric-api-base 0.4.29+b04edc7a27
|-- fabric-rendering-data-attachment-v1 0.3.33+b3afc78b27
|-- fabric-rendering-fluids-v1 3.0.26+b3afc78b27
-- fabric-resource-loader-v0 0.11.7+f7923f6d27
[23:11:59] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/E:/games/curseforge/minecraft/Install/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[23:11:59] [main/INFO]: Compatibility level set to JAVA_16
[23:11:59] [main/INFO]: Compatibility level set to JAVA_17
[23:12:00] [main/INFO]: Loaded configuration file for Sodium: 33 options available, 3 override(s) found
[23:12:00] [main/WARN]: Force-disabling mixin 'features.entity.fast_render.MixinCuboid' as rule 'mixin.features.entity.fast_render' (added by mods [iris]) disables it and children
[23:12:00] [main/WARN]: Force-disabling mixin 'features.entity.fast_render.MixinModelPart' as rule 'mixin.features.entity.fast_render' (added by mods [iris]) disables it and children
[23:12:00] [main/WARN]: Force-disabling mixin 'features.gui.font.MixinGlyphRenderer' as rule 'mixin.features.gui.font' (added by mods [iris]) disables it and children
[23:12:00] [main/WARN]: Force-disabling mixin 'features.sky.MixinWorldRenderer' as rule 'mixin.features.sky' (added by mods [iris]) disables it and children
[23:12:06] [Datafixer Bootstrap/INFO]: 188 Datafixer optimizations took 159 milliseconds
[23:12:08] [Render thread/INFO]: Launching a new process to probe the system configuration!
[23:12:08] [Render thread/INFO]: OpenGL Vendor: NVIDIA Corporation
[23:12:08] [Render thread/INFO]: OpenGL Renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
[23:12:08] [Render thread/INFO]: OpenGL Version: 3.3.0 NVIDIA 531.79
[23:12:08] [Render thread/WARN]: Enabling workaround for NVIDIA graphics drivers on Windows (issue #1486)
[23:12:08] [Render thread/WARN]: One or more workarounds were enabled to prevent crashes or other issues on your system. You may need to update your graphics drivers.
[23:12:09] [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'
[23:12:09] [Render thread/INFO]: Setting user: Voxelate
[23:12:10] [Render thread/INFO]: [Indigo] Different rendering plugin detected; not applying Indigo.
[23:12:10] [Render thread/INFO]: Backend library: LWJGL version 3.3.1 SNAPSHOT
[23:12:10] [ForkJoinPool.commonPool-worker-1/WARN]: [Iris Update Check] This version doesn't have an update index, skipping.
[23:12:10] [Render thread/INFO]: Debug functionality is disabled.
[23:12:10] [Render thread/INFO]: ARB_direct_state_access detected, enabling DSA.
[23:12:10] [Render thread/ERROR]: Pack "CPHSBC" is not valid! Can't load it.
[23:12:10] [Render thread/WARN]: Falling back to normal rendering without shaders because the shaderpack could not be loaded
[23:12:10] [Render thread/INFO]: Shaders are disabled
[23:12:10] [Render thread/WARN]: Static binding violation: PRIVATE @overwrite method method_23182 in sodium.mixins.json:features.item.MixinItemRenderer from mod sodium cannot reduce visibiliy of PUBLIC target method, visibility will be upgraded.
[23:12:11] [Render thread/INFO]: Hardware information:
[23:12:11] [Render thread/INFO]: CPU: 8x Intel(R) Core(TM) i3-10100F CPU @ 3.60GHz
[23:12:11] [Render thread/INFO]: GPU: NVIDIA GeForce GTX 1650/PCIe/SSE2 (Supports OpenGL 3.2.0 NVIDIA 531.79)
[23:12:11] [Render thread/INFO]: OS: Windows 10 (10.0)
[23:12:12] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric (fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-containers-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-crash-report-info-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-events-lifecycle-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-tables-v1, fabric-message-api-v1, fabric-mining-level-api-v1, fabric-models-v0, fabric-networking-api-v1, fabric-networking-v0, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-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-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, iris, sodium), programmer_art (), file/Programmer Art Ultimate 1-20
[23:12:12] [Worker-Main-6/INFO]: Found unifont_all_no_pua-15.0.06.hex, loading
[23:12:12] [Render thread/INFO]: Creating pipeline for dimension OVERWORLD
[23:12:14] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[23:12:14] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[23:12:14] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Speakers (Realtek(R) Audio)
[23:12:14] [Render thread/INFO]: Sound engine started
[23:12:14] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[23:12:14] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[23:12:14] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[23:12:14] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[23:12:14] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[23:12:14] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[23:12:14] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[23:12:14] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[23:12:14] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[23:12:14] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[23:12:14] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[23:12:14] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[23:12:14] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[23:12:22] [Render thread/INFO]: Loaded 7 recipes
[23:12:22] [Render thread/INFO]: Loaded 1271 advancements
[23:12:23] [Render thread/INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 1.379 ms
[23:12:23] [Server thread/INFO]: Starting integrated minecraft server version 1.20
[23:12:23] [Server thread/INFO]: Generating keypair
[23:12:24] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[23:12:27] [Render thread/INFO]: Preparing spawn area: 0%
[23:12:27] [Render thread/INFO]: Preparing spawn area: 0%
[23:12:27] [Render thread/INFO]: Preparing spawn area: 0%
[23:12:27] [Render thread/INFO]: Preparing spawn area: 0%
[23:12:27] [Render thread/INFO]: Preparing spawn area: 0%
[23:12:27] [Render thread/INFO]: Preparing spawn area: 0%
[23:12:28] [Render thread/INFO]: Preparing spawn area: 6%
[23:12:28] [Render thread/INFO]: Preparing spawn area: 86%
[23:12:28] [Render thread/INFO]: Time elapsed: 3561 ms
[23:12:28] [Server thread/INFO]: Changing simulation distance to 10, from 0
[23:12:29] [Server thread/INFO]: Voxelate[local:E:2d823aad] logged in with entity id 129 at (411.98628255623396, 65.0, -276.79037610233036)
[23:12:29] [Server thread/INFO]: Voxelate joined the game
[23:12:29] [Render thread/INFO]: Started 2 worker threads
[23:12:30] [Render thread/INFO]: Loaded 52 advancements
[23:12:40] [Server thread/INFO]: [Voxelate: Set own game mode to Creative Mode]
[23:12:40] [Render thread/INFO]: [System] [CHAT] Set own game mode to Creative Mode
[23:13:25] [Server thread/INFO]: Saving and pausing game...
[23:13:25] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[23:13:25] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[23:13:25] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[23:13:27] [Server thread/INFO]: Saving and pausing game...
[23:13:27] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[23:13:27] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[23:13:27] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[23:13:32] [Render thread/INFO]: Destroying pipeline OVERWORLD
[23:13:33] [Render thread/ERROR]: Unrecognized clouds setting: fast|fancy|off
[23:13:33] [Render thread/WARN]: Unexpected value for boolean key oldHandLight in shaders.properties: got true|false, but expected either true or false
[23:13:33] [Render thread/WARN]: Unexpected value for boolean key dynamicHandLight in shaders.properties: got true|false, but expected either true or false
[23:13:33] [Render thread/WARN]: Unexpected value for boolean key oldLighting in shaders.properties: got true|false, but expected either true or false
[23:13:33] [Render thread/WARN]: Unexpected value for boolean key shadowTranslucent in shaders.properties: got true|false, but expected either true or false
[23:13:33] [Render thread/WARN]: Unexpected value for boolean key underwaterOverlay in shaders.properties: got true|false, but expected either true or false
[23:13:33] [Render thread/WARN]: Unexpected value for boolean key sun in shaders.properties: got true|false, but expected either true or false
[23:13:33] [Render thread/WARN]: Unexpected value for boolean key moon in shaders.properties: got true|false, but expected either true or false
[23:13:33] [Render thread/WARN]: Unexpected value for boolean key backFace.solid in shaders.properties: got true|false, but expected either true or false
[23:13:33] [Render thread/WARN]: Unexpected value for boolean key backFace.cutout in shaders.properties: got true|false, but expected either true or false
[23:13:33] [Render thread/WARN]: Unexpected value for boolean key backFace.cutoutMipped in shaders.properties: got true|false, but expected either true or false
[23:13:33] [Render thread/WARN]: Unexpected value for boolean key backFace.translucent in shaders.properties: got true|false, but expected either true or false
[23:13:33] [Render thread/INFO]: Profile: Custom (+0 options changed by user)
[23:13:33] [Render thread/INFO]: Using shaderpack: CPHSBC.zip
[23:13:33] [Render thread/INFO]: Creating pipeline for dimension OVERWORLD
[23:13:33] [Render thread/INFO]: Starting custom uniform resolving
[23:13:33] [Render thread/WARN]: [Patcher] gl_FragColor is not supported yet, please use gl_FragData! Assuming that the shaderpack author intended to use gl_FragData[0]...
[23:13:33] [Render thread/INFO]: Stopping worker threads
[23:13:33] [Render thread/INFO]: Started 2 worker threads
[23:13:40] [Server thread/INFO]: Saving and pausing game...
[23:13:40] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[23:13:40] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[23:13:40] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[23:15:25] [Server thread/INFO]: [Voxelate: Set own game mode to Survival Mode]
[23:15:25] [Render thread/INFO]: [System] [CHAT] Set own game mode to Survival Mode
[23:15:41] [Server thread/INFO]: Saving and pausing game...
[23:15:41] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[23:15:41] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[23:15:41] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[23:15:46] [Server thread/INFO]: Saving and pausing game...
[23:15:46] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[23:15:46] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[23:15:46] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[23:15:51] [Server thread/INFO]: Voxelate lost connection: Disconnected
[23:15:51] [Server thread/INFO]: Voxelate left the game
[23:15:51] [Server thread/INFO]: Stopping singleplayer server as player logged out
[23:15:51] [Server thread/INFO]: Stopping server
[23:15:51] [Server thread/INFO]: Saving players
[23:15:51] [Server thread/INFO]: Saving worlds
[23:15:51] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[23:15:55] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[23:15:55] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[23:15:55] [Server thread/INFO]: ThreadedAnvilChunkStorage (New World): All chunks are saved
[23:15:55] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[23:15:55] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[23:15:55] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[23:15:56] [Render thread/INFO]: Stopping worker threads
[23:15:58] [Render thread/INFO]: Stopping!

Minecraft Version

1.20

Iris Version

iris-mc1.20-1.6.4

Operating System

Win 10

What is your GPU?

Nvidia Geforce GTX 1650

Additional context

No response

commented

The black block breaking animation is still a thing even with an empty shader to trick Iris into using "New Lighting", so this black block breaking animation thing is not specific to this shader, however people have managed to find a way around this by adding code into their shader to mitigate this. This is still true on 1.20.4. @IMS212 please investigate this thanks.

commented

The black block breaking animation is still a thing even with an empty shader to trick Iris into using "New Lighting", so this black block breaking animation thing is not specific to this shader, however people have managed to find a way around this by adding code into their shader to mitigate this. This is still true on 1.20.4. @IMS212 please investigate this thanks.

This is already fixed in the next version of Iris