Iris Shaders

Iris Shaders

38M Downloads

No shadows on Miniature Shader

mateuskreuch opened this issue ยท 1 comments

commented

What happened?

There's no shadows when using Iris 1.8.0 with Miniature. The shader works fine on Optifine. I tried a few older versions of Iris and this happens since Iris 1.8.0 beta 7.

Screenshots

No response

Log output

latest.log

Minecraft Version

1.21.3

Iris Version

iris-fabric-1.8.0+mc1.21.3.jar

Operating System

Windows 10

What is your GPU?

Nvidia GeForce RTX 2060

Additional context

No response

commented

This is mostly a shader related issue, as it's using a bad way to compare shadow depth. Iris changed shaderProjection[2].w and shadowModelView[2].w, which makes the assumption of this shader failed.

Here is my edit to make this shader running as expected

Image