added encode shader and readPixelEncode method