Sets up shader inheritance using Material class to encapsulate shader settings