Allow mods to hook into the frustum update condition
forkiesassds opened this issue ยท 2 comments
Request Description
My mod depends on a mixin for Sodium that makes it so that the frustum update condition is controlled by a feature of the mod. It would be great if it was possible to do what I'm doing with the mixin through an event of sorts instead.
The latest version of Embeddium will respect setting the vanilla
needsFrustumUpdate
flag inSectionOcclusionGraph
to true (for 1.21, a similar flag can be found inLevelRenderer
for 1.20). Is this enough for your purposes?
This seems enough for me. Didn't know there was a more better method though... I simply mixed into setupRender
to be able to do so.