Add support for terrain painting