minor tweaks

This commit is contained in:
mcrcortex
2024-02-09 15:03:47 +10:00
parent 137396b0ac
commit 2aaed386c4
3 changed files with 12 additions and 13 deletions

View File

@@ -105,8 +105,8 @@ dependencies {
include(runtimeOnly "org.lwjgl:lwjgl-lmdb:$lwjglVersion:natives-linux") include(runtimeOnly "org.lwjgl:lwjgl-lmdb:$lwjglVersion:natives-linux")
include(runtimeOnly "org.lwjgl:lwjgl-zstd:$lwjglVersion:natives-linux") include(runtimeOnly "org.lwjgl:lwjgl-zstd:$lwjglVersion:natives-linux")
//include(implementation 'org.rocksdb:rocksdbjni:8.10.0') include(implementation 'org.rocksdb:rocksdbjni:8.10.0')
//include(implementation 'redis.clients:jedis:5.1.0') include(implementation 'redis.clients:jedis:5.1.0')
implementation 'org.rocksdb:rocksdbjni:8.10.0' //implementation 'org.rocksdb:rocksdbjni:8.10.0'
implementation 'redis.clients:jedis:5.1.0' //implementation 'redis.clients:jedis:5.1.0'
} }

View File

@@ -122,9 +122,6 @@ public class ModelTextureBakery {
-1,-1,0,1, -1,-1,0,1,
}), VertexSorter.BY_Z); }), VertexSorter.BY_Z);
glClearColor(0,0,0,0);
glClearDepth(1);
glBindFramebuffer(GL_FRAMEBUFFER, this.framebuffer.id);
RenderLayer renderLayer = null; RenderLayer renderLayer = null;
@@ -136,6 +133,10 @@ public class ModelTextureBakery {
renderLayer.startDrawing(); renderLayer.startDrawing();
glClearColor(0,0,0,0);
glClearDepth(1);
glBindFramebuffer(GL_FRAMEBUFFER, this.framebuffer.id);
glEnable(GL_STENCIL_TEST); glEnable(GL_STENCIL_TEST);
glDepthRange(0, 1); glDepthRange(0, 1);
glDepthMask(true); glDepthMask(true);

View File

@@ -8,13 +8,11 @@
"minecraft.MixinClientChunkManager", "minecraft.MixinClientChunkManager",
"minecraft.MixinDebugHud", "minecraft.MixinDebugHud",
"minecraft.MixinMinecraftClient", "minecraft.MixinMinecraftClient",
"minecraft.MixinWorldRenderer" "minecraft.MixinWorldRenderer",
"sodium.MixinOcclusionCuller",
"sodium.MixinSodiumWorldRender"
], ],
"injectors": { "injectors": {
"defaultRequire": 1 "defaultRequire": 1
}, }
"mixins": [
"sodium.MixinOcclusionCuller",
"sodium.MixinSodiumWorldRender"
]
} }