-
Notifications
You must be signed in to change notification settings - Fork 18
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
[Bug] Seemingly forces Fancy rendering vs Fabulous #213
Comments
A quick investigation makes it seem like the Lines 51 to 57 in 52b6337
I don't understand the render pipeline enough to know why this is the case nor how to properly fix it however a band-aid would be to return early if the |
Hmm rather odd. As far as I know, the only thing requesting the buffer for a render type would do is draw the last undrawn buffer. Basically if the last requested buffer is for a render type which doesn't have a dedicated buffer, requesting a buffer for a different render type will draw the last buffer if it wasn't drawn yet.
That code submits the quads for blocks in moving elevators whenever the chunk geometry for a certain render type is submitted. Returning early for the translucent render type would prevent blocks such as stained glass from being rendered when the elevator is moving. I could probably make it so I am quite busy with school currently and haven't been able to work on mods for a while, so it will likely be a while before I can make any changes or look into it properly 😅 |
Educated guess: if your elevator renderer ends up indirectly calling |
I've now changed it so
Putting a breakpoint in I don't really have a way to test/debug the issue, so I will likely wait for a release of XyCraft to properly fix the issue. |
Another thing we found recently while debugging laggy rendering from another mod (Modern Industrialization) is that apparently |
Ah did not know that, I always thought it had dedicated buffers for the chunk render types, but indeed it seems it actually has dedicated buffers for the render types in |
Version Info
Are you using OptiFine?: Not at all.
Description of the Bug
Basically it seems like fabulous (more specifically additive blending) gets completely nuked and result in the same visual results as fancy rendering.
Steps to Reproduce
Load up world with the mod installed.
Screenshots
Unfortunately I don't have a public build of XyCraft available for you to toy with. Maybe in a week or so?
The images below were both taken in Fabulous, though the first image WOULD be the result if rendering in Fancy.
The first is with elevators installed and XyCraft
The second is without elevators.
The text was updated successfully, but these errors were encountered: