add terrain configuration and use it to send texture info to the client