Improper Culling on Terrain Warping Shader

I'm working on a shader that involves warping the terrain and the current frustum culling is using the chunks real position rather than where they appear on the screen, so it's just not culling them correctly. Is there a way to provide a different frustum culling method in the shader and if so can I get a shader that does this to use as example? or do is the only option to turn off frustum culling in its entirety and if so how?

If it matters what I'm trying to do, the shader im working on wraps the world into a ring. The blue wool in the picture is actually 256 blocks in front of me. As you can see theres a lot of terrain that is being culled that ideally wouldn't, as would the blue wool if I turned around. I'm not worried about the texture colliding with the red wool that's expected.
2023-06-24_13.37.30.png
Was this page helpful?