Added some logic to support building:material tags
Still working on lighting