embeddedt / embeddium

An open-source client performance mod for Minecraft (based on Sodium 0.5.8) prioritizing reliability & mod compatibility
https://legacy.curseforge.com/minecraft/mc-mods/embeddium
GNU Lesser General Public License v3.0
173 stars 62 forks source link

Allow mods to disable block face culling or to make it ineffective at will #330

Open forkiesassds opened 1 month ago

forkiesassds commented 1 month ago

Request Description

My mod depends on a mixin for Sodium which makes it so that block face culling is effectively disabled due to it not working with a different projection matrix, by setting visible faces so that all faces are "visible". Either allow that or allow mods that set a custom projection matrix to properly do block face culling without having to do this.

embeddedt commented 1 month ago

Hmm, can you show me more about this use case/how you're setting this up? I feel like there are other things that could break from doing that - it sounds more like the camera position needs to be calculated with the projection matrix taken into account, or something along those lines.

forkiesassds commented 4 weeks ago

it sounds more like the camera position needs to be calculated with the projection matrix taken into account, or something along those lines.

This could certainly the case... I'm unsure how would I be able to do this however.