_geometryClipmapShader.setUniform("minLevel", 0f);
_geometryClipmapShader.setUniform("showDebug", textureClipmap.isShowDebug() ? 1.0f : 0.0f);
}
_geometryClipmapShader.setShaderDataLogic(new GLSLShaderDataLogic() {
public void applyData(final GLSLShaderObjectsState shader, final Mesh mesh, final Renderer renderer) {
if (mesh instanceof ClipmapLevel) {
shader.setUniform("vertexDistance", (float) ((ClipmapLevel) mesh).getVertexDistance());
}
}