Tweaks for Custom Materials

Realised I left a couple things out once I started playing around with it - a small fix to allow texture-less materials, and an `opts` parameter for `loadTextures` too :)