aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/Config.java
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2022-06-23 10:26:38 +0200
committermakamys <makamys@outlook.com>2022-06-23 12:22:23 +0200
commit07c988f5a0ce2f7c60b864dd5ee64860d7cea457 (patch)
treec201085eba5e33b1713618ed4f90977b7a9ab356 /src/main/java/makamys/neodymium/Config.java
parent83b035c243b3ffeac9d57f7ab6d4cd89c0e25851 (diff)
downloadNeodymium-07c988f5a0ce2f7c60b864dd5ee64860d7cea457.tar.gz
Neodymium-07c988f5a0ce2f7c60b864dd5ee64860d7cea457.tar.bz2
Neodymium-07c988f5a0ce2f7c60b864dd5ee64860d7cea457.zip
Make UV shortification disableable
Diffstat (limited to 'src/main/java/makamys/neodymium/Config.java')
-rw-r--r--src/main/java/makamys/neodymium/Config.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/makamys/neodymium/Config.java b/src/main/java/makamys/neodymium/Config.java
index 813fc4b..2bdc543 100644
--- a/src/main/java/makamys/neodymium/Config.java
+++ b/src/main/java/makamys/neodymium/Config.java
@@ -31,6 +31,7 @@ public class Config {
public static boolean simplifyChunkMeshes;
public static boolean cullFaces;
+ public static boolean shortUV;
public static int maxMeshesPerFrame;
public static int sortFrequency;
public static int gcRate;
@@ -74,6 +75,7 @@ public class Config {
simplifyChunkMeshes = config.getBoolean("simplifyChunkMeshes", "render", false, "Simplify chunk meshes so they are made of less vertices. Reduces vertex count at the cost of increasing shader complexity. The optimal setting depends on your hardware. Requires renderer restart when changed.");
cullFaces = config.getBoolean("cullFaces", "render", true, "Don't submit faces for rendering if they are facing away from the camera. Reduces GPU workload at the cost of increasing driver overhead. This will improve the framerate most of the time, but may reduce it if you are not fillrate-limited.");
+ shortUV = config.getBoolean("shortUV", "render", true, "Store texture coordinates as shorts instead of floats. Slightly improves performance.");
sortFrequency = config.getInt("sortFrequency", "render", 1, 1, Integer.MAX_VALUE, "Interval (in frames) between the sorting of meshes. Increasing this might increase framerate, but increase the likelyhood of graphical artifacts when moving quickly.");
VRAMSize = config.getInt("VRAMSize", "render", 1024, 1, Integer.MAX_VALUE, "VRAM buffer size (MB). 512 seems to be a good value on Normal render distance. Increase this if you encounter warnings about the VRAM getting full. Does not affect RAM usage. Requires renderer restart when changed.");