Iris Shaders

Iris Shaders

38M Downloads

Disable Occlusion Culling in shaders.properties

jbritain opened this issue ยท 1 comments

commented

Sometimes, when moving large portions of terrain in the vertex shader, terrain which is now visible to the player is culled because the occlusion culling is calculated before the vertex offsets.

It would be nice if it was possible to disable occlusion culling to prevent this.

I have disabled block face culling and fog occlusion, and in the shader code disabled frustum culling, leaving only occlusion culling to be a possible explanation for this.

This obviously isn't something you'd use in normal gameplay and would be a big performance hit but in the same vein as the ability to disable frustum culling, it would be nice to have.

commented

Added key occlusion.culling.