Add support for multiple texture layers (untested)