diff --git a/common/src/main/java/org/vivecraft/mixin/client_vr/renderer/GameRendererVRMixin.java b/common/src/main/java/org/vivecraft/mixin/client_vr/renderer/GameRendererVRMixin.java index 1267668d6..fb252e90f 100644 --- a/common/src/main/java/org/vivecraft/mixin/client_vr/renderer/GameRendererVRMixin.java +++ b/common/src/main/java/org/vivecraft/mixin/client_vr/renderer/GameRendererVRMixin.java @@ -198,7 +198,7 @@ public abstract class GameRendererVRMixin private Matrix4f vivecraft$customProjectionMatrix( Matrix4f instance, float fovy, float aspect, float zNear, float zFar, Operation original) { - if (VRState.VR_RUNNING) { + if (!RenderPassType.isVanilla()) { zNear = vivecraft$MIN_CLIP_DISTANCE; if (MethodHolder.isInMenuRoom()) { // use 16 Chunks as minimum, to have no issues with clipping in the menuworld @@ -273,7 +273,7 @@ public abstract class GameRendererVRMixin GameRenderer instance, DeltaTracker deltaTracker, Operation original) { original.call(instance, deltaTracker); - if (VRState.VR_RUNNING && vivecraft$DATA_HOLDER.currentPass != RenderPass.THIRD && + if (!RenderPassType.isVanilla() && vivecraft$DATA_HOLDER.currentPass != RenderPass.THIRD && vivecraft$DATA_HOLDER.currentPass != RenderPass.CAMERA) { VREffectsHelper.renderFaceOverlay(deltaTracker.getGameTimeDeltaPartialTick(false));