Terrain LOD Levels

Hello, here’s the code I’m currently using for Terrain Level of Detail:
[java][/java]
How can I implement levels of LOD ? Like for models. i.e I wanna 0.9f lod for far terrain and 0.3f for other?

EDIT: I DONE THAT