<?xml version="1.0" encoding="utf-8"?>
<foliageType distanceTexturePath="distance">
    <!-- grass

    5 6 7 8

    1 0 0 0 - invisible
    0 1 0 0 - green small
    1 1 0 0 - green middle
    0 0 1 0 - green big (harvest ready)
    1 0 1 0 - green big (cut)

    -->
    <foliageLayer cellSize="8" objectMask="16711935" decalLayer="0" densityMapChannelOffset="0" numDensityMapChannels="4" numBlocksPerUnit="2.5" shapeSource="grassDense.i3d">
        <foliageStateDefaults distanceMapLayer="1" widthVariance="0.5" heightVariance="0.5" horizontalPositionVariance="0.4" />
        <!-- default LOD distances etc -->
        <foliageLodDefaults lod="0" viewDistance="20"  blendOutDistance="2" atlasSize="1" atlasOffset="1 0" texCoords="0 0 1 1" />
        <foliageLodDefaults lod="1" viewDistance="100" blendOutDistance="5" atlasSize="1" atlasOffset="1 0" texCoords="0 0 1 1" />
        <!-- 1 0 0 0 - invisible -->
        <foliageState name="invisible" />
        <!-- 0 1 0 0 - green small -->
        <foliageState name="green small" width="0.3" height="0.2" numBlocksPerUnit="3.5">
            <foliageShape>
                <foliageLod blockShape="0>0" />
                <foliageLod blockShape="1>0" />
            </foliageShape>
        </foliageState>
        <!-- 1 1 0 0 - green middle -->
        <foliageState name="green middle" width="0.8" height="0.45" numBlocksPerUnit="3.3">
            <foliageShape>
                <foliageLod blockShape="0>1" />
                <foliageLod blockShape="1>1" />
            </foliageShape>
        </foliageState>
        <!-- 0 0 1 0 - green big (harvest ready) -->
        <foliageState name="green big" width="1.2" height="0.85" numBlocksPerUnit="2.7">
            <foliageShape>
                <foliageLod blockShape="0>2" />
                <foliageLod blockShape="1>2" />
            </foliageShape>
        </foliageState>
        <!-- 1 0 1 0 - green big (cut) -->
        <foliageState name="green big (cut)" width="1.2" height="0.8" numBlocksPerUnit="2.7">
            <foliageShape>
                <foliageLod blockShape="0>3" />
                <foliageLod blockShape="1>3" />
            </foliageShape>
        </foliageState>
        <!--  -->
    </foliageLayer>
</foliageType>
