Implemented basic shader functionality