Iris Shaders

Iris Shaders

36M Downloads

Shadow Alpha test settings not applied to every shadow program

gri573 opened this issue ยท 3 comments

commented

What happened?

When setting alphaTest.shadow=off in shaders.properties, it doesn't apply to all shadow gbuffers programs. Specifically, it doesn't apply to shadow_terrain_cutout.

the attached shaderpack demonstrates this by drawing all triangles in the shadow pass to three large triangles with transparency going from 0 to 1 along the x axis. the topmost triangle consists of translucent blocks, the middle one of cutout blocks, the bottom one of solid ones.
beware, it runs very poorly and scales badly with increasing render distance.

shadow_alpha_test.zip
.

Screenshots

No response

Relevant log output

No response

Minecraft Version

Minecraft 1.18.2

Iris Version

iris-mc1.18.2-1.2.1.jar

Sodium Version

sodium-fabric-mc1.18.2-0.4.1+build.15.jar

Operating System

linux (ubuntu 21.10)

What is your GPU?

AMD vega 8

Java Version

java 16 (bundled)

Additional context

No response

commented

This has been fixed on 1.16.5. It will need to be replicated for 1.17.1

commented

Can someone confirm if this is fixed on 1.17.1?

commented

Seems like the fix is confirmed on 1.17.1+:
image