Skip to content

Commit

Permalink
Add warning for vivecraft performance issues, resolves #27
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Jun 5, 2024
1 parent 008730f commit 904e66f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Version 1.18.0
**Changes**
- Shaders' init callbacks now also run during the above event
- This fixes resource leaks caused by setting a sampler uniform to a vanilla Framebuffer in those callbacks
- Added a warning in the logs for bad framerate when installed together with the Vivecraft mod

------------------------------------------------------
Version 1.17.0
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/ladysnake/satin/Satin.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,8 @@ public void onInitializeClient() {
if (FabricLoader.getInstance().isModLoaded("optifabric")) {
LOGGER.warn("[Satin] Optifine present in the instance, custom entity post process shaders will not work");
}
if (FabricLoader.getInstance().isModLoaded("vivecraft")) {
LOGGER.warn("[Satin] Vivecraft present in the instance, you may experience degraded performance - try turning eye stencil off in VR settings");
}
}
}
3 changes: 2 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"java": ">=16"
},
"conflicts": {
"optifabric": "*"
"optifabric": "*",
"vivecraft": "*"
},
"custom": {
"badges": [ "library" ]
Expand Down

0 comments on commit 904e66f

Please sign in to comment.