public void Update()
        {
            //Only use waves if needed.
            if (m_UseWaves == false || HasMesh() == false)
            {
                return;
            }

            //Update time.
            m_Offset.x += Time.deltaTime * m_Speed.x;
            m_Offset.y += Time.deltaTime * m_Speed.y;

            //Generate the noise grid.
            m_Filter.GenerateSimpleNoiseGrid(true, m_Displacement, m_Offset);
        }