added scaling to the displacement demo