Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
thejudge156 authored Dec 4, 2023
1 parent d3d9c8a commit 3240918
Showing 1 changed file with 33 additions and 35 deletions.
68 changes: 33 additions & 35 deletions QCXR.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/common/src/main/java/org/vivecraft/client_vr/provider/VRRenderer.java b/common/src/main/java/org/vivecraft/client_vr/provider/VRRenderer.java
--- a/common/src/main/java/org/vivecraft/client_vr/provider/VRRenderer.java (revision 96ffbcea670be83bcdc6879eff3b84624f356c22)
+++ b/common/src/main/java/org/vivecraft/client_vr/provider/VRRenderer.java (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
@@ -700,6 +700,8 @@
--- a/common/src/main/java/org/vivecraft/client_vr/provider/VRRenderer.java (revision d86c70a8cf9a6aca3cf51d4fd833dab544ccb156)
+++ b/common/src/main/java/org/vivecraft/client_vr/provider/VRRenderer.java (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -701,6 +701,8 @@

try {
minecraft.mainRenderTarget = this.framebufferVrRender;
Expand All @@ -23,11 +23,11 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/common/src/main/java/org/vivecraft/client_vr/provider/openvr_lwjgl/OpenVRStereoRenderer.java b/common/src/main/java/org/vivecraft/client_vr/provider/openvr_lwjgl/OpenVRStereoRenderer.java
--- a/common/src/main/java/org/vivecraft/client_vr/provider/openvr_lwjgl/OpenVRStereoRenderer.java (revision 96ffbcea670be83bcdc6879eff3b84624f356c22)
+++ b/common/src/main/java/org/vivecraft/client_vr/provider/openvr_lwjgl/OpenVRStereoRenderer.java (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
--- a/common/src/main/java/org/vivecraft/client_vr/provider/openvr_lwjgl/OpenVRStereoRenderer.java (revision d86c70a8cf9a6aca3cf51d4fd833dab544ccb156)
+++ b/common/src/main/java/org/vivecraft/client_vr/provider/openvr_lwjgl/OpenVRStereoRenderer.java (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -7,10 +7,8 @@
import net.minecraft.network.chat.Component;
import net.minecraft.util.Tuple;
import org.joml.Matrix4f;
import org.lwjgl.opengl.GL11;
-import org.lwjgl.openvr.HiddenAreaMesh;
-import org.lwjgl.openvr.HmdMatrix44;
Expand Down Expand Up @@ -154,8 +154,8 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/common/src/main/java/org/vivecraft/client_vr/render/VRShaders.java b/common/src/main/java/org/vivecraft/client_vr/render/VRShaders.java
--- a/common/src/main/java/org/vivecraft/client_vr/render/VRShaders.java (revision 96ffbcea670be83bcdc6879eff3b84624f356c22)
+++ b/common/src/main/java/org/vivecraft/client_vr/render/VRShaders.java (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
--- a/common/src/main/java/org/vivecraft/client_vr/render/VRShaders.java (revision d86c70a8cf9a6aca3cf51d4fd833dab544ccb156)
+++ b/common/src/main/java/org/vivecraft/client_vr/render/VRShaders.java (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -34,6 +34,8 @@
public static AbstractUniform _Overlay_time;
public static AbstractUniform _Overlay_BlackAlpha;
Expand Down Expand Up @@ -184,8 +184,8 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/common/src/main/java/org/vivecraft/client_vr/render/helpers/VRPassHelper.java b/common/src/main/java/org/vivecraft/client_vr/render/helpers/VRPassHelper.java
--- a/common/src/main/java/org/vivecraft/client_vr/render/helpers/VRPassHelper.java (revision 96ffbcea670be83bcdc6879eff3b84624f356c22)
+++ b/common/src/main/java/org/vivecraft/client_vr/render/helpers/VRPassHelper.java (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
--- a/common/src/main/java/org/vivecraft/client_vr/render/helpers/VRPassHelper.java (revision d86c70a8cf9a6aca3cf51d4fd833dab544ccb156)
+++ b/common/src/main/java/org/vivecraft/client_vr/render/helpers/VRPassHelper.java (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -189,6 +189,11 @@
ProgramManager.glUseProgram(0);
checkGLError("post overlay" + eye);
Expand All @@ -204,8 +204,8 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/common/src/main/java/org/vivecraft/client_vr/settings/VRSettings.java b/common/src/main/java/org/vivecraft/client_vr/settings/VRSettings.java
--- a/common/src/main/java/org/vivecraft/client_vr/settings/VRSettings.java (revision 96ffbcea670be83bcdc6879eff3b84624f356c22)
+++ b/common/src/main/java/org/vivecraft/client_vr/settings/VRSettings.java (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
--- a/common/src/main/java/org/vivecraft/client_vr/settings/VRSettings.java (revision d86c70a8cf9a6aca3cf51d4fd833dab544ccb156)
+++ b/common/src/main/java/org/vivecraft/client_vr/settings/VRSettings.java (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -437,11 +437,11 @@
@SettingField(VrOptions.CHAT_MESSAGE_STENCIL)
public boolean showChatMessageStencil = true;
Expand All @@ -228,8 +228,8 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
===================================================================
diff --git a/common/src/main/java/org/vivecraft/mixin/client_vr/OpenVRMixin.java b/common/src/main/java/org/vivecraft/mixin/client_vr/OpenVRMixin.java
new file mode 100644
--- /dev/null (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
+++ b/common/src/main/java/org/vivecraft/mixin/client_vr/OpenVRMixin.java (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
--- /dev/null (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
+++ b/common/src/main/java/org/vivecraft/mixin/client_vr/OpenVRMixin.java (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -0,0 +1,68 @@
+package org.vivecraft.mixin.client_vr;
+
Expand Down Expand Up @@ -306,8 +306,8 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
===================================================================
diff --git a/common/src/main/java/org/vivecraft/utils/VLoader.java b/common/src/main/java/org/vivecraft/utils/VLoader.java
new file mode 100644
--- /dev/null (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
+++ b/common/src/main/java/org/vivecraft/utils/VLoader.java (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
--- /dev/null (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
+++ b/common/src/main/java/org/vivecraft/utils/VLoader.java (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -0,0 +1,15 @@
+package org.vivecraft.utils;
+
Expand All @@ -331,8 +331,8 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
===================================================================
diff --git a/common/src/main/resources/assets/minecraft/shaders/core/gsr.fsh b/common/src/main/resources/assets/minecraft/shaders/core/gsr.fsh
new file mode 100644
--- /dev/null (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
+++ b/common/src/main/resources/assets/minecraft/shaders/core/gsr.fsh (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
--- /dev/null (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
+++ b/common/src/main/resources/assets/minecraft/shaders/core/gsr.fsh (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -0,0 +1,142 @@
+#version 460 core
+
Expand Down Expand Up @@ -483,8 +483,8 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
===================================================================
diff --git a/common/src/main/resources/assets/minecraft/shaders/core/gsr.json b/common/src/main/resources/assets/minecraft/shaders/core/gsr.json
new file mode 100644
--- /dev/null (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
+++ b/common/src/main/resources/assets/minecraft/shaders/core/gsr.json (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
--- /dev/null (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
+++ b/common/src/main/resources/assets/minecraft/shaders/core/gsr.json (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -0,0 +1,35 @@
+{
+ "blend": {
Expand Down Expand Up @@ -527,8 +527,8 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/common/src/main/resources/assets/vivecraft/input/oculus_defaults.json b/common/src/main/resources/assets/vivecraft/input/oculus_defaults.json
--- a/common/src/main/resources/assets/vivecraft/input/oculus_defaults.json (revision 96ffbcea670be83bcdc6879eff3b84624f356c22)
+++ b/common/src/main/resources/assets/vivecraft/input/oculus_defaults.json (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
--- a/common/src/main/resources/assets/vivecraft/input/oculus_defaults.json (revision d86c70a8cf9a6aca3cf51d4fd833dab544ccb156)
+++ b/common/src/main/resources/assets/vivecraft/input/oculus_defaults.json (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -142,7 +142,7 @@
}
},
Expand Down Expand Up @@ -646,8 +646,8 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/common/src/main/resources/assets/vivecraft/input/vive_defaults.json b/common/src/main/resources/assets/vivecraft/input/vive_defaults.json
--- a/common/src/main/resources/assets/vivecraft/input/vive_defaults.json (revision 96ffbcea670be83bcdc6879eff3b84624f356c22)
+++ b/common/src/main/resources/assets/vivecraft/input/vive_defaults.json (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
--- a/common/src/main/resources/assets/vivecraft/input/vive_defaults.json (revision d86c70a8cf9a6aca3cf51d4fd833dab544ccb156)
+++ b/common/src/main/resources/assets/vivecraft/input/vive_defaults.json (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -146,15 +146,12 @@
},
{
Expand Down Expand Up @@ -884,14 +884,12 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/common/src/main/resources/vivecraft.mixins.json b/common/src/main/resources/vivecraft.mixins.json
--- a/common/src/main/resources/vivecraft.mixins.json (revision 96ffbcea670be83bcdc6879eff3b84624f356c22)
+++ b/common/src/main/resources/vivecraft.mixins.json (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
@@ -73,7 +73,8 @@
"client_vr.world.entity.projectile.FireworkRocketEntityVRMixin",
"client_vr.world.level.block.DoorBlockVRMixin",
"client_vr.world.level.block.FenceGateBlockVRMixin",
- "client_vr.world.level.block.TrapDoorBlockVRMixin"
+ "client_vr.world.level.block.TrapDoorBlockVRMixin",
--- a/common/src/main/resources/vivecraft.mixins.json (revision d86c70a8cf9a6aca3cf51d4fd833dab544ccb156)
+++ b/common/src/main/resources/vivecraft.mixins.json (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -70,6 +70,7 @@
"client_vr.world.PotionItemVRMixin",
"client_vr.world.entity.player.PlayerVRMixin",
"client_vr.world.entity.projectile.FireworkRocketEntityVRMixin"
+ "client_vr.OpenVRMixin"
],
"minVersion": "0.8.4",
Expand All @@ -902,9 +900,9 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/fabric/build.gradle b/fabric/build.gradle
--- a/fabric/build.gradle (revision 96ffbcea670be83bcdc6879eff3b84624f356c22)
+++ b/fabric/build.gradle (revision 3fe6e1cc49cf792c874d61fc083ad4beb1c40fa9)
@@ -74,10 +74,10 @@
--- a/fabric/build.gradle (revision d86c70a8cf9a6aca3cf51d4fd833dab544ccb156)
+++ b/fabric/build.gradle (revision 786a7f81b1db6b638c6ad800eafba19bef17d18a)
@@ -79,10 +79,10 @@
include(implementation('com.electronwill.night-config:toml:3.6.6'))
include(implementation('com.electronwill.night-config:core:3.6.6'))

Expand Down

0 comments on commit 3240918

Please sign in to comment.