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

far does not match render distance in server sometimes #2580

Open
GeForceLegend opened this issue Dec 27, 2024 · 0 comments
Open

far does not match render distance in server sometimes #2580

GeForceLegend opened this issue Dec 27, 2024 · 0 comments

Comments

@GeForceLegend
Copy link

What happened?

It looks like uniform float far in Iris is generated from render distance in settings, but not actual render distance. This is not an issue with single player, but server will limit render distance, which means sometimes actural render distance will be lower than the value in setting. Then, Iris will pass the wrong render distance as far to shaders, causing unexpected behavior on some shaders.

Screenshots

Image from user of my project, showing wrong DH culling range when joining server. According to his comment, this does not happen on single player. I'm using far to cull near DH terrain (and I believe most shader developers will use it), which affected by the wrong far from Iris.

Image

Log output

No response

Minecraft Version

He doesn't provide, considering versions comat with DH. I'll update if he replies me.

Iris Version

Same as above

Operating System

Same as above

What is your GPU?

Same as above

Additional context

No response

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

1 participant