Added public routines to use a shader or not using any shader