Added seperate material functionality alongside with deferred rendering.
TODO: Improve multiple material functionality