Angelica 2.0

* GLStateManagerService & RenderSystemService
* Wire up Celeritas
* Iris working
* Dynamic lights working
* Goodbye Sodium 0.2
* Add Multi-Threading for check meshing again
This commit is contained in:
Jason Mitchell authored and Jason Mitchell committed 2026-01-07 13:22:16 -08:00
1 parent e5e8250d44
commit be90a01725
354 files changed
+5257 -15599

No files matched your search

@@ -2,22 +2,26 @@ package net.coderbot.iris.shadows.frustum;
import net.minecraft.client.renderer.culling.Frustrum;
import net.minecraft.util.AxisAlignedBB;
import org.embeddedt.embeddium.impl.render.viewport.Viewport;
import org.embeddedt.embeddium.impl.render.viewport.ViewportProvider;
import org.embeddedt.embeddium.impl.render.viewport.frustum.Frustum;
import org.joml.Vector3d;
public class CullEverythingFrustum extends Frustrum {
// for Sodium
public boolean fastAabbTest(float minX, float minY, float minZ, float maxX, float maxY, float maxZ) {
return false;
}
// For Immersive Portals
// We return false here since isVisible is going to return false anyways.
public boolean canDetermineInvisible(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) {
return false;
}
public class CullEverythingFrustum extends Frustrum implements ViewportProvider, Frustum {
private final Vector3d position = new Vector3d();
@Override
public boolean isBoundingBoxInFrustum(AxisAlignedBB aabb) {
return false;
}
@Override
public boolean testAab(float minX, float minY, float minZ, float maxX, float maxY, float maxZ) {
return false;
}
@Override
public Viewport sodium$createViewport() {
return new Viewport(this, position.set(xPosition, yPosition, zPosition));
}
}