AA
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package me.cortex.voxy.client.core.rendering;
|
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.AbstractRenderWorldInteractor;
|
||||||
import me.cortex.voxy.client.core.gl.GlBuffer;
|
import me.cortex.voxy.client.core.gl.GlBuffer;
|
||||||
import me.cortex.voxy.client.core.gl.shader.PrintfInjector;
|
import me.cortex.voxy.client.core.gl.shader.PrintfInjector;
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
}
|
||||||
@@ -128,7 +128,7 @@ void main() {
|
|||||||
|
|
||||||
//debugDumpNode(node);
|
//debugDumpNode(node);
|
||||||
|
|
||||||
if (outsideFrustum()) {// || isCulledByHiz()
|
if (outsideFrustum() || isCulledByHiz()) {
|
||||||
//printf("HizCulled");
|
//printf("HizCulled");
|
||||||
//We are done here, dont do any more, the issue is the shader barriers maybe
|
//We are done here, dont do any more, the issue is the shader barriers maybe
|
||||||
// its culled, maybe just mark it as culled?
|
// its culled, maybe just mark it as culled?
|
||||||
|
|||||||
Reference in New Issue
Block a user