minor tweaks
This commit is contained in:
@@ -122,9 +122,6 @@ public class ModelTextureBakery {
|
||||
-1,-1,0,1,
|
||||
}), VertexSorter.BY_Z);
|
||||
|
||||
glClearColor(0,0,0,0);
|
||||
glClearDepth(1);
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, this.framebuffer.id);
|
||||
|
||||
|
||||
RenderLayer renderLayer = null;
|
||||
@@ -136,6 +133,10 @@ public class ModelTextureBakery {
|
||||
|
||||
|
||||
renderLayer.startDrawing();
|
||||
glClearColor(0,0,0,0);
|
||||
glClearDepth(1);
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, this.framebuffer.id);
|
||||
|
||||
glEnable(GL_STENCIL_TEST);
|
||||
glDepthRange(0, 1);
|
||||
glDepthMask(true);
|
||||
|
||||
@@ -8,13 +8,11 @@
|
||||
"minecraft.MixinClientChunkManager",
|
||||
"minecraft.MixinDebugHud",
|
||||
"minecraft.MixinMinecraftClient",
|
||||
"minecraft.MixinWorldRenderer"
|
||||
"minecraft.MixinWorldRenderer",
|
||||
"sodium.MixinOcclusionCuller",
|
||||
"sodium.MixinSodiumWorldRender"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
},
|
||||
"mixins": [
|
||||
"sodium.MixinOcclusionCuller",
|
||||
"sodium.MixinSodiumWorldRender"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user