Skip to content

Commit

Permalink
fix missing spots in the DH projection fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fayer3 committed Jun 11, 2024
1 parent fa9b531 commit 5fef1a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public class IrisDHCompatVRMixin {

Matrix4f vrProjection = CapturedRenderingState.INSTANCE.getGbufferProjection();
Matrix4f dhProjection = cir.getReturnValue();

dhProjection.m00(vrProjection.m00());
dhProjection.m11(vrProjection.m11());
dhProjection.m20(vrProjection.m20());
dhProjection.m21(vrProjection.m21());
cir.setReturnValue(dhProjection);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public class IrisLodRenderEventsVRMixin {

Matrix4f vrProjection = CapturedRenderingState.INSTANCE.getGbufferProjection();

dhProjection.m00(vrProjection.m00());
dhProjection.m11(vrProjection.m11());
dhProjection.m20(vrProjection.m20());
dhProjection.m21(vrProjection.m21());
}
Expand Down

0 comments on commit 5fef1a4

Please sign in to comment.