added isReady flag to shader