Is all this correct?
Code: Select all
<DetailLayer name="terrainDetail" densityMapId="254" numDensityMapChannels="16" compressionChannels="16" cellSize="8" objectMask="16711935" decalLayer="1" viewDistance="75" blendOutDistance="5" densityMapShaderNames="blendMap;blendMap2" combinedValuesChannels="0 4 0;4 9 0;13 3 0">
<Group name="GroundType" firstChannel="0" numChannels="4" >
<Group name="GroundAngle" firstChannel="4" numChannels="9" >
<Group name="Spraytype" firstChannel="13" numChannels="3"
Code: Select all
float angle = float(i_angle)/32*3.14159;