generated from neoforged/MDK
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2d6838
commit 3eae037
Showing
2 changed files
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3eae037
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like how you can fix an intended restriction with just... disabling it. And nothing really breaks.
Now I wonder, why was it made on purpose by Replay devs?
3eae037
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The frex api allows you to tell other mods to generate "a perfect frame". Sodium has their own impl of this that loads all chunks (and maybe does some extra stuff). By removing this check, we simply do stuff the vanilla way, as if no sodium was found. The FREX api isn't really used on forge, which means no alternative at the moment. I might look into it with embeddedt and su5ed a bit more, but since this hasn't come up yet, their simply might be no mods wanting it on forge.
3eae037
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please describe this API a bit more, @ferriarnus? If it won't be used while rendering, what type of impact would it occur on the result? Whether it can be just rendering speed or critical stuff like frame quality?
3eae037
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So from what I understand, the api tells sodium to render without caring about actual "performance". What sodium then does is purely on them as there is no standard. However I think all sodium does is force all the chunks to rendered. Now I use replay mods system for vanilla chunks, which seems to work fine for sodium as well. I don't think other settings are changed.