#endif
// TODO: explain this 0.5 factor. It is likely related to the fact that
// setting the amplitude to 2 in the UI only results in the max. displacement of 1.
return 0.5 * maxDisplacement;
return maxDisplacement;
}
// Return the minimun uv size for all layers including triplanar