<?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" shapeSource="grassLong.i3d">
        <foliageStateDefaults distanceMapLayer="1" widthVariance="0.5" heightVariance="0.5" horizontalPositionVariance="0.35" />
        <!-- default LOD distances etc -->
        <foliageLodDefaults lod="0" viewDistance="15" blendOutDistance="2" atlasSize="1" atlasOffset="1 0" texCoords="0 0 1 1" />
        <foliageLodDefaults lod="1" viewDistance="80" 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.6" height="0.35" numBlocksPerUnit="1.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.55" numBlocksPerUnit="1.5">
            <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.7" height="0.8" numBlocksPerUnit="1.5">
            <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.7" height="0.8" numBlocksPerUnit="1.5">
            <foliageShape>
                <foliageLod blockShape="0>3" />
                <foliageLod blockShape="1>3" />
            </foliageShape>
        </foliageState>
        <!--  -->
    </foliageLayer>
</foliageType>
