Set correct terrain layer texture format.