Added --equalize-boundaries -e command line option to call terrain->setEqualizeBoundaries(true)

This commit is contained in:
Robert Osfield 2018-04-18 09:33:12 +01:00
parent 018383dca1
commit 1bf6acd80d

View File

@ -379,6 +379,11 @@ int main(int argc, char** argv)
terrain->setVerticalScale(verticalScale);
terrain->setBlendingPolicy(blendingPolicy);
if (arguments.read("--equalize-boundaries") || arguments.read("-e"))
{
terrain->setEqualizeBoundaries(true);
}
if (useDisplacementMappingTechnique)
{