Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No shadows on Miniature Shader #2548

Open
mateuskreuch opened this issue Dec 2, 2024 · 1 comment
Open

No shadows on Miniature Shader #2548

mateuskreuch opened this issue Dec 2, 2024 · 1 comment

Comments

@mateuskreuch
Copy link

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

@GeForceLegend
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants