Added more Shader functionality to LayerManager