Glad i could help. As for the payment, thankyou very much for the offer but don't worry about it. It was a really fun thing to try and figure out

All the textures are fixed in the app. What i meant was that you could load textures to the Material Library at runtime in your game. I just figured it would be easier that way as i didn't have to worry about changing the properties of materials once loaded.

i'll make a start on cleaning up and fully commenting the src and will post here soon