This commit is contained in:
mcrcortex
2024-07-18 10:52:43 +10:00
parent 26825e358f
commit 9d4f912808
3 changed files with 8 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
package me.cortex.voxy.client.core.rendering;
import com.sun.jna.NativeLibrary;
import me.cortex.voxy.client.core.AbstractRenderWorldInteractor;
import me.cortex.voxy.client.core.gl.GlBuffer;
import me.cortex.voxy.client.core.gl.shader.PrintfInjector;

View File

@@ -0,0 +1,6 @@
package me.cortex.voxy.client.core.rendering.section;
//Takes in mesh ids from the hierachical traversal and may perform more culling then renders it
public abstract class AbstractSectionRenderer {
}

View File

@@ -128,7 +128,7 @@ void main() {
//debugDumpNode(node);
if (outsideFrustum()) {// || isCulledByHiz()
if (outsideFrustum() || isCulledByHiz()) {
//printf("HizCulled");
//We are done here, dont do any more, the issue is the shader barriers maybe
// its culled, maybe just mark it as culled?