LOD

Grassworks uses four LOD levels: high, medium, low and veryLow. Distance values are normalized from 0 to 1 against maxDistance.

LODDistanceDensityDetail
high0.644
medium0.722
low0.911
veryLow1.011

Distance

If maxDistance is 100 and high distance is 0.3, high LOD applies from 0–30 world units. The normalized distance values define where the transitions happen relative to the current maximum distance.

Density

Density controls the amount of grass generated per tile at that LOD. Higher density makes the field fuller but increases resource use.

Detail

Detail controls geometric detail for individual Blade geometry. Higher values can improve Blade shape at a greater geometry cost. Billboard uses a two-triangle rectangle representation, so detail does not have the same equivalent effect there.