Perlin noise used as a displacement map in AS3